﻿/* Registration Form Checkboxes Grid Matrix */
.reg-section-title {
    color: #38bdf8;
    font-size: 16px;
    font-weight: 700;
    margin: 25px 0 15px 0;
    border-left: 3px solid #38bdf8;
    padding-left: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reg-row-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 12px;
}

/* Scrollable matrix table for discipline selectors */
.matrix-wrapper {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow-x: auto;
    margin-top: 15px;
}

.matrix-table {
    width: 100%;
    border-collapse: collapse;
    color: #ffffff;
    font-size: 13px;
    min-width: 700px;
}

    .matrix-table th {
        background: rgba(255, 255, 255, 0.04);
        padding: 10px;
        text-align: center;
        color: #94a3b8;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .matrix-table td {
        padding: 12px 10px;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

/* Floating dynamic ledger pricing calculator box */
.fee-summary-box {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 12px;
    padding: 20px;
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* Custom enlarged checkboxes for registration grids and labels */
.auth-checkbox-label input[type="checkbox"],
.matrix-table input[type="checkbox"] {
    /* 1. Scale up the visual footprint */
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0 !important;
    /* 2. Style the base box frame */
    appearance: none;
    -webkit-appearance: none;
    background: rgba(15, 23, 42, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    cursor: pointer;
    display: inline-grid;
    place-content: center;
    position: relative;
    transition: all 0.2s ease-in-out;
}

    /* Hover effect on checkboxes */
    .auth-checkbox-label input[type="checkbox"]:hover,
    .matrix-table input[type="checkbox"]:hover {
        border-color: #38bdf8;
        box-shadow: 0 0 8px rgba(56, 189, 248, 0.4);
    }

    /* Checked state layout */
    .auth-checkbox-label input[type="checkbox"]:checked,
    .matrix-table input[type="checkbox"]:checked {
        background: #0ea5e9;
        border-color: #38bdf8;
        box-shadow: 0 0 12px rgba(14, 165, 233, 0.5);
    }

        /* Custom sharp checkmark indicator inside the box */
        .auth-checkbox-label input[type="checkbox"]:checked::before,
        .matrix-table input[type="checkbox"]:checked::before {
            content: "";
            width: 10px;
            height: 5px;
            border-left: 2px solid white;
            border-bottom: 2px solid white;
            transform: rotate(-45deg) translate(1px, -1px);
        }
