/* =========================================================================
   TradeTech Sandbox — Join / Application Wizard
   Enhanced for clarity and visual appeal
   ========================================================================= */

/* --- START: 4x4 Grid Logo & Design Upgrade --- */
/*.tt-wizard .tt-brand-mark {
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    border-radius: 4px !important;
    background: transparent !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44'%3E%3Crect x='0' y='0' width='11' height='11' fill='%23F2F2F2' rx='2'/%3E%3Crect x='11' y='0' width='11' height='11' fill='%23F2F2F2' rx='2'/%3E%3Crect x='22' y='0' width='11' height='11' fill='%23E8D5A3' rx='2'/%3E%3Crect x='33' y='0' width='11' height='11' fill='%23C9A227' rx='2'/%3E%3Crect x='0' y='11' width='11' height='11' fill='%23F2F2F2' rx='2'/%3E%3Crect x='11' y='11' width='11' height='11' fill='%23E8D5A3' rx='2'/%3E%3Crect x='22' y='11' width='11' height='11' fill='%23C9A227' rx='2'/%3E%3Crect x='33' y='11' width='11' height='11' fill='%23F2F2F2' rx='2'/%3E%3Crect x='0' y='22' width='11' height='11' fill='%23E8D5A3' rx='2'/%3E%3Crect x='11' y='22' width='11' height='11' fill='%23C9A227' rx='2'/%3E%3Crect x='22' y='22' width='11' height='11' fill='%23F2F2F2' rx='2'/%3E%3Crect x='33' y='22' width='11' height='11' fill='%23F2F2F2' rx='2'/%3E%3Crect x='0' y='33' width='11' height='11' fill='%23C9A227' rx='2'/%3E%3Crect x='11' y='33' width='11' height='11' fill='%23E8D5A3' rx='2'/%3E%3Crect x='22' y='33' width='11' height='11' fill='%23F2F2F2' rx='2'/%3E%3Crect x='33' y='33' width='11' height='11' fill='%23F2F2F2' rx='2'/%3E%3C/svg%3E") !important;
    background-size: cover !important;
    border: 2px solid transparent !important;
    transition: transform var(--transition-smooth);
    transform: none !important;
}

    .tt-wizard .tt-brand-mark::after {
        display: none !important;
    }

.tt-wizard .tt-brand:hover .tt-brand-mark {
    transform: scale(1.05);
}

.tt-wizard .tt-brand-name {
    font-family: var(--font-display) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--navy-deep) !important;
    letter-spacing: -0.02em !important;
    transition: color var(--transition-smooth);
}

.tt-wizard .tt-brand:hover .tt-brand-name {
    color: var(--gold);
}

.tt-wizard .tt-brand-sub {
    font-family: var(--font-mono) !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 0.18em !important;
    color: var(--gold) !important;
    text-transform: uppercase !important;
}

.tt-wizard h1,
.tt-wizard h2,
.tt-wizard h3,
.tt-panel-title {
    font-family: var(--font-display) !important;
    color: var(--navy-deep) !important;
    font-weight: 600 !important;
}

.tt-wizard .tt-track-card h3 {
    font-size: 1.1rem !important;
}

.tt-wizard .tt-track-card .btn {
    border-radius: 999px !important;
    background: var(--gold) !important;
    color: var(--navy-deep) !important;
    font-weight: 600 !important;
    transition: all var(--transition-smooth) !important;
}

    .tt-wizard .tt-track-card .btn:hover {
        background: var(--gold-bright) !important;
        transform: translateY(-2px);
    }*/
/* --- END: 4x4 Grid Logo & Design Upgrade --- */

/*.tt-track-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
    margin-top: 40px;
}

@media (min-width: 640px) {
    .tt-track-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.tt-track-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

    .tt-track-card:hover {
        box-shadow: var(--shadow-md);
        transform: translateY(-4px);
        border-color: var(--gold);
    }

    .tt-track-card .idx {
        font-family: var(--font-mono);
        font-size: 0.8rem;
        color: var(--gold);
        font-weight: 600;
    }

    .tt-track-card h3 {
        margin-top: 12px;
        font-size: 1.1rem;
        color: var(--navy-deep);
        font-family: var(--font-display);
        font-weight: 600;
    }

    .tt-track-card p {
        margin-top: 10px;
        font-size: 0.9rem;
        color: var(--muted);
        line-height: 1.6;
        flex: 1;
    }

    .tt-track-card .btn {
        margin-top: 22px;
        width: 100%;
    }

.tt-login-hint {
    margin-top: 40px;
    border-top: 1px solid var(--border);
    padding-top: 24px;
    font-size: 0.9rem;
    color: var(--muted);
}

    .tt-login-hint a {
        font-weight: 600;
        color: var(--navy-deep);
        border-bottom: 1px solid var(--gold);
    }*/

/* ---------- Wizard shell ---------- */
/*.tt-wizard {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    margin-top: 16px;
}

.tt-wizard-form {
    flex: 1;
    min-width: 0;
    max-width: 720px;
}

[dir="rtl"] .tt-wizard-rail {
    order: 2;
}

[dir="rtl"] .tt-wizard-form {
    order: 1;
}*/

/* ---------- Vertical step rail ---------- */
/*.tt-wizard-rail {
    width: 220px;
    flex: none;
    position: sticky;
    top: 96px;
}

.tt-rail-track {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 20px;
    font-weight: 600;
}

[lang="ar"] .tt-rail-track {
    letter-spacing: 0;
}

.tt-rail-list {
    list-style: none;
    position: relative;
}

.tt-rail-item {
    position: relative;
    padding-inline-start: 40px;
    padding-bottom: 32px;
}

    .tt-rail-item:last-child {
        padding-bottom: 0;
    }

    .tt-rail-item::before {
        content: "";
        position: absolute;
        inset-inline-start: 13px;
        top: 28px;
        bottom: 0;
        width: 2px;
        background: var(--border);
    }

    .tt-rail-item:last-child::before {
        display: none;
    }

.tt-rail-num {
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    border: 2px solid var(--border);
    color: var(--muted);
    background: var(--surface);
}

.tt-rail-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--muted);
}

.tt-rail-desc {
    font-size: 0.8rem;
    color: var(--muted);
    opacity: 0.75;
    margin-top: 2px;
}

.tt-rail-item.is-done .tt-rail-num {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--navy-deep);
}

.tt-rail-item.is-done::before {
    background: var(--gold);
}

.tt-rail-item.is-done .tt-rail-label {
    color: var(--navy-deep);
}

.tt-rail-item.is-active .tt-rail-num {
    border-color: var(--navy-deep);
    border-width: 2px;
    color: var(--navy-deep);
    background: var(--surface);
    box-shadow: 0 0 0 3px rgba(184,144,42,0.2);
}

.tt-rail-item.is-active .tt-rail-label {
    color: var(--navy-deep);
}*/

/* ---------- Form panel ---------- */
/*.tt-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.tt-panel-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--navy-deep);
}

.tt-panel-desc {
    margin-top: 8px;
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.6;
}*/

/* ---------- Form fields ---------- */
/*.tt-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tt-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy-deep);
}

.tt-input,
.tt-select,
.tt-textarea {
    width: 100%;
    border: 1px solid var(--border);
    background: var(--surface);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-family: var(--font-body);
    color: var(--ink);
    border-radius: 0.75rem;
    transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

    .tt-input:focus,
    .tt-select:focus,
    .tt-textarea:focus {
        outline: none;
        border-color: var(--gold);
        box-shadow: 0 0 0 3px rgba(184,144,42,0.16);
    }

.tt-help {
    font-size: 0.8rem;
    color: var(--muted);
}

.tt-form-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr;
    margin-top: 24px;
}

@media (min-width: 640px) {
    .tt-form-grid {
        grid-template-columns: repeat(2, 1fr);
    }

        .tt-form-grid.cols-3 {
            grid-template-columns: repeat(3, 1fr);
        }
}

.tt-span-2 {
    grid-column: span 1;
}

@media (min-width: 640px) {
    .tt-span-2 {
        grid-column: span 2;
    }

    .tt-span-3 {
        grid-column: span 3;
    }
}*/

/* ---------- Checkboxes ---------- */
/*.tt-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--ink);
    cursor: pointer;
}

    .tt-checkbox input[type="checkbox"] {
        appearance: none;
        width: 18px;
        height: 18px;
        flex: none;
        margin-top: 2px;
        border: 1.5px solid var(--border);
        background: var(--surface);
        cursor: pointer;
        position: relative;
        border-radius: 4px;
        transition: all var(--transition-smooth);
    }

        .tt-checkbox input[type="checkbox"]:checked {
            border-color: var(--gold);
            background: var(--gold);
        }

            .tt-checkbox input[type="checkbox"]:checked::after {
                content: "";
                position: absolute;
                inset-inline-start: 5px;
                top: 1px;
                width: 5px;
                height: 9px;
                border: solid var(--navy-deep);
                border-width: 0 2px 2px 0;
                transform: rotate(45deg);
            }

.tt-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

    .tt-checkbox-group.cols-2 {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
    }

@media (min-width: 640px) {
    .tt-checkbox-group.cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.tt-divider {
    margin-top: 32px;
    border-top: 1px solid var(--border);
    padding-top: 24px;
}

.tt-subheading {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
}

[lang="ar"] .tt-subheading {
    letter-spacing: 0;
}*/

/* ---------- Terms box ---------- */
/*.tt-terms-box {
    margin-top: 16px;
    border: 1px solid var(--border);
    background: var(--canvas);
    padding: 20px;
    max-height: 220px;
    overflow: auto;
    border-radius: 0.75rem;
}

    .tt-terms-box p {
        color: var(--muted);
        font-size: 0.9rem;
        line-height: 1.7;
    }

        .tt-terms-box p + p {
            margin-top: 10px;
        }*/

/* ---------- Notices ---------- */
/*.tt-notice {
    margin-top: 16px;
    border: 1px solid var(--border);
    background: var(--surface);
    padding: 14px 16px;
    font-size: 0.9rem;
    color: var(--ink);
    border-radius: 0.75rem;
}

.tt-notice-gold {
    border-color: var(--gold);
    background: rgba(184,144,42,0.08);
    color: var(--navy-deep);
}

    .tt-notice-gold strong {
        font-family: var(--font-mono);
        font-weight: 600;
    }*/

/* ---------- OTP ---------- */
/*.tt-otp-input {
    letter-spacing: 0.5em;
    font-family: var(--font-mono);
    font-size: 1.5rem;
    text-align: center;
    max-width: 220px;
}*/

/* ---------- Form actions ---------- */
/*.tt-form-actions {
    margin-top: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

    .tt-form-actions .actions-end {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
    }

.text-danger {
    color: #F34A3F;
    font-size: 0.85rem;
}*/

/* ---------- Success / stamp ---------- */
/*.tt-stamp-wrap {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    padding: 64px 24px;
}

.tt-stamp {
    width: 84px;
    height: 84px;
    margin: 0 auto 28px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    position: relative;
}

    .tt-stamp::before {
        content: "";
        position: absolute;
        inset: -6px;
        border: 1px solid var(--border);
        border-radius: 50%;
    }

    .tt-stamp svg {
        width: 34px;
        height: 34px;
    }

.tt-stamp-ref {
    margin-top: 18px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    color: var(--muted);
}

[lang="ar"] .tt-stamp-ref {
    letter-spacing: 0;
}

.tt-stamp-wrap h1 {
    margin-top: 8px;
    font-size: 1.8rem;
    color: var(--navy-deep);
}

.tt-stamp-wrap p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

.tt-stamp-wrap .actions {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    gap: 14px;
}*/

/* ---------- Responsive wizard ---------- */
/*@media (max-width: 900px) {
    .tt-wizard {
        flex-direction: column;
        gap: 28px;
    }

    .tt-wizard-rail {
        position: static;
        width: 100%;
    }

    .tt-rail-list {
        display: flex;
        overflow-x: auto;
        gap: 24px;
        padding-bottom: 8px;
    }

    .tt-rail-item {
        padding-inline-start: 0;
        padding-bottom: 0;
        padding-top: 34px;
        flex: none;
        min-width: 120px;
    }

        .tt-rail-item::before {
            inset-inline-start: 0;
            top: 13px;
            bottom: auto;
            width: 100%;
            height: 2px;
        }

    .tt-rail-num {
        top: 0;
        inset-inline-start: 0;
    }

    .tt-track-grid {
        grid-template-columns: 1fr;
    }

    .tt-form-grid,
    .tt-form-grid.cols-3,
    .tt-checkbox-group.cols-2 {
        grid-template-columns: 1fr;
    }

    .tt-span-2,
    .tt-span-3 {
        grid-column: span 1;
    }
}*/
