﻿body {
    background: radial-gradient(circle at top left, rgba(72, 120, 255, 0.12), transparent 28%), radial-gradient(circle at bottom right, rgba(98, 0, 238, 0.10), transparent 30%), linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

.register-shell {
    position: relative;
}

.register-wrapper {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.55);
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(31, 41, 55, 0.12);
}

.register-brand-panel {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #312e81 100%);
    color: #fff;
    min-height: 100%;
}

.register-brand-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.register-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.25rem;
    border-radius: 20px;
/*    background: rgba(255, 255, 255, 0.08);*/
/*    border: 1px solid rgba(255, 255, 255, 0.12);*/
/*    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);*/
/*    backdrop-filter: blur(8px);*/
    margin-bottom: 1.5rem;
}

.register-logo {
    width: 220px;
    max-width: 100%;
    height: auto;
    display: block;
/*    filter: drop-shadow(0 4px 4px rgba(255, 255, 255, 0.28)) brightness(1.15) contrast(1.12);*/
}

.register-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.register-brand-title {
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 700;
}

.register-brand-text {
    color: rgba(255,255,255,0.82);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 420px;
}

.register-feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.register-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255,255,255,0.94);
    font-weight: 500;
}

    .register-feature-item i {
        font-size: 1.2rem;
    }

.register-card {
    background: rgba(255,255,255,0.88);
    min-height: 100%;
}

.register-card-inner {
    padding: 2.5rem;
}

.register-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0f172a;
}

.register-subtitle {
    color: #64748b;
    font-size: 0.98rem;
}

.register-progress-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    min-width: 58px;
    opacity: 0.45;
    transition: all 0.25s ease;
}

    .progress-step span {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #e2e8f0;
        color: #334155;
        font-weight: 700;
        font-size: 0.95rem;
    }

    .progress-step small {
        color: #64748b;
        font-size: 0.75rem;
        font-weight: 600;
    }

    .progress-step.active,
    .progress-step.completed {
        opacity: 1;
    }

        .progress-step.active span {
            background: linear-gradient(135deg, #4f46e5, #7c3aed);
            color: #fff;
            box-shadow: 0 8px 22px rgba(79, 70, 229, 0.30);
        }

        .progress-step.completed span {
            background: #0f766e;
            color: #fff;
        }

.progress-line {
    flex: 1;
    height: 2px;
    background: #dbeafe;
    border-radius: 999px;
    margin-bottom: 1.45rem;
}

.modern-label {
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.55rem;
}

.modern-input-wrap {
    position: relative;
}

.modern-input-icon {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 1.1rem;
    z-index: 2;
}

.modern-input {
    height: 56px;
    padding-left: 3rem;
    padding-right: 3.25rem;
    border-radius: 16px;
    border: 1px solid #dbe4f0;
    background: #f8fafc;
    box-shadow: none;
    transition: all 0.2s ease;
}

    .modern-input:focus {
        background: #fff;
        border-color: #818cf8;
        box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
    }

.modern-toggle-btn {
    border: 0;
    background: transparent;
    position: absolute;
    top: 50%;
    right: 0.85rem;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 1.2rem;
    z-index: 2;
}

.modern-hint {
    margin-top: 0.55rem;
    color: #64748b;
    font-size: 0.84rem;
}

.modern-error {
    margin-top: 0.55rem;
    font-size: 0.86rem;
    color: #dc2626;
    font-weight: 500;
}

.consent-card {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: linear-gradient(180deg, #f8fafc, #f1f5f9);
    border: 1px solid #e2e8f0;
}

.consent-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e0e7ff;
    color: #4338ca;
    font-size: 1.2rem;
}

.modern-check-card {
    padding: 1rem 1.1rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #fff;
}

.modern-btn-primary {
    height: 54px;
    border: 0;
    border-radius: 16px;
    font-weight: 700;
    font-size: 0.98rem;
    color: #fff;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    box-shadow: 0 14px 30px rgba(79, 70, 229, 0.24);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

    .modern-btn-primary:hover,
    .modern-btn-primary:focus {
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 18px 34px rgba(79, 70, 229, 0.28);
    }

    .modern-btn-primary:disabled {
        opacity: 0.6;
        box-shadow: none;
    }

.modern-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.92rem;
}

    .modern-links a {
        color: #4f46e5;
        text-decoration: none;
        font-weight: 600;
    }

        .modern-links a:hover {
            text-decoration: underline;
        }

.register-footer {
    color: #64748b;
    font-size: 0.9rem;
}

@media (max-width: 991.98px) {
    .register-card-inner {
        padding: 2rem 1.25rem;
    }

    .register-wrapper {
        border-radius: 22px;
    }

    .progress-step small {
        display: none;
    }
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.75rem;
}

.brand-mark-wrap {
    width: 78px;
    height: 78px;
    min-width: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
/*    background: rgba(255, 255, 255, 0.08);*/
/*    border: 1px solid rgba(255, 255, 255, 0.14);*/
/*    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);*/
/*    backdrop-filter: blur(8px);*/
}

.brand-mark {
    width: 78px;
    height: 78px;
    object-fit: contain;
    display: block;
}

.brand-wordmark {
    line-height: 1.05;
}

.brand-kicker {
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.42);
    margin-bottom: 0.15rem;
}

.brand-name {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: #f8fafc;
}

@media (max-width: 767.98px) {
    .register-shell {
        padding-top: 1.25rem !important;
        padding-bottom: 1.25rem !important;
    }

    .register-wrapper {
        border-radius: 24px;
        overflow: hidden;
    }

    .register-card-inner {
        padding: 1.5rem 1.25rem 1.25rem;
    }

    .brand-lockup {
        justify-content: center;
        gap: 0.75rem;
        margin-bottom: 1rem;
        text-align: left;
    }

    .brand-mark-wrap {
        width: 72px;
        height: 72px;
        min-width: 72px;
        border-radius: 20px;
    }

    .brand-mark {
        width: 52px;
        height: 52px;
    }

    .brand-kicker {
        font-size: 0.58rem;
        letter-spacing: 0.12em;
        margin-bottom: 0.2rem;
    }

    .brand-name {
        font-size: 1.05rem;
        line-height: 1.02;
    }

    .register-title {
        font-size: 1.35rem;
        line-height: 1.15;
        margin-bottom: 0.35rem !important;
    }

    .register-subtitle {
        font-size: 0.95rem;
        margin-bottom: 0 !important;
    }

    .register-progress {
        margin-bottom: 1.5rem !important;
    }

    .register-progress-steps {
        gap: 0.35rem;
    }

    .progress-step {
        min-width: 40px;
        gap: 0.25rem;
    }

        .progress-step span {
            width: 34px;
            height: 34px;
            font-size: 0.9rem;
        }

        .progress-step small {
            display: none;
        }

    .progress-line {
        margin-bottom: 0;
        height: 2px;
    }

    .modern-label {
        font-size: 0.95rem;
        margin-bottom: 0.45rem;
    }

    .modern-input {
        height: 50px;
        border-radius: 14px;
        padding-left: 2.8rem;
        padding-right: 2.9rem;
        font-size: 0.98rem;
    }

    .modern-input-icon {
        left: 0.9rem;
        font-size: 1rem;
    }

    .modern-toggle-btn {
        right: 0.75rem;
        font-size: 1.05rem;
    }

    .modern-hint,
    .modern-error {
        font-size: 0.8rem;
    }

    .consent-card,
    .modern-check-card {
        border-radius: 14px;
    }

    .modern-btn-primary {
        height: 52px;
        border-radius: 16px;
        font-size: 0.98rem;
    }

    .modern-links {
        flex-wrap: wrap;
        gap: 0.5rem;
        font-size: 0.95rem;
        margin-top: 1.25rem !important;
    }

    .register-footer {
        font-size: 0.8rem;
        line-height: 1.5;
        padding: 0 0.75rem;
    }
}

.modern-select-wrap {
    position: relative;
}

.modern-select {
    height: 56px;
    padding-left: 1rem;
    padding-right: 3rem;
    border-radius: 16px;
    border: 1px solid #dbe4f0;
    background: #f8fafc;
    box-shadow: none;
    transition: all 0.2s ease;
    appearance: none;
}

    .modern-select:focus {
        background: #fff;
        border-color: #818cf8;
        box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
    }

.modern-select-icon {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
    font-size: 1.1rem;
}

@media (max-width: 767.98px) {
    .modern-select {
        height: 50px;
        border-radius: 14px;
        font-size: 0.98rem;
    }
}

.register-progress-steps-7 {
    gap: 0.35rem;
}

    .register-progress-steps-7 .progress-step {
        min-width: 44px;
    }

        .register-progress-steps-7 .progress-step small {
            font-size: 0.68rem;
        }

.modern-btn-secondary {
    height: 54px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 0.98rem;
}

@media (max-width: 991.98px) {
    .register-progress-steps-7 .progress-step small {
        display: none;
    }

    .register-progress-steps-7 {
        justify-content: space-between;
    }
}

@media (max-width: 767.98px) {
    .modern-btn-secondary {
        height: 52px;
        border-radius: 16px;
    }
}

.spouse-modal-content {
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.register-progress-steps-7 {
    gap: 0.35rem;
}

    .register-progress-steps-7 .progress-step {
        min-width: 44px;
    }

        .register-progress-steps-7 .progress-step small {
            font-size: 0.68rem;
        }

.modern-btn-secondary {
    height: 54px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 0.98rem;
}

.modern-select-wrap {
    position: relative;
}

.modern-select {
    height: 56px;
    padding-left: 1rem;
    padding-right: 3rem;
    border-radius: 16px;
    border: 1px solid #dbe4f0;
    background: #f8fafc;
    box-shadow: none;
    transition: all 0.2s ease;
    appearance: none;
}

    .modern-select:focus {
        background: #fff;
        border-color: #818cf8;
        box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
    }

.modern-select-icon {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
    font-size: 1.1rem;
}

@media (max-width: 991.98px) {
    .register-progress-steps-7 .progress-step small {
        display: none;
    }

    .register-progress-steps-7 {
        justify-content: space-between;
    }
}

@media (max-width: 767.98px) {
    .modern-select {
        height: 50px;
        border-radius: 14px;
        font-size: 0.98rem;
    }

    .modern-btn-secondary {
        height: 52px;
        border-radius: 16px;
    }
}

.ministry-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
}

.ministry-card {
    display: block;
    cursor: pointer;
    margin: 0;
}

.ministry-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ministry-card-content {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #fff;
    transition: all 0.2s ease;
}

.ministry-card:hover .ministry-card-content {
    border-color: #c7d2fe;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.08);
    transform: translateY(-1px);
}

.ministry-card-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef2ff;
    color: transparent;
    transition: all 0.2s ease;
}

.ministry-card-text {
    color: #0f172a;
    font-weight: 600;
    line-height: 1.4;
}

.ministry-checkbox:checked + .ministry-card-content {
    border-color: #818cf8;
    background: #f8faff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.10);
}

    .ministry-checkbox:checked + .ministry-card-content .ministry-card-icon {
        background: linear-gradient(135deg, #4f46e5, #7c3aed);
        color: #fff;
    }

@media (min-width: 768px) {
    .ministry-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.otp-icon-wrap {
    width: 82px;
    height: 82px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #eef2ff, #e0e7ff);
    color: #4f46e5;
    font-size: 2rem;
    box-shadow: 0 10px 24px rgba(99, 102, 241, 0.12);
}

.otp-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.65rem;
}

.otp-cell {
    min-width: 0;
}

.otp-input {
    height: 60px;
    border-radius: 16px;
    border: 1px solid #dbe4f0;
    background: #f8fafc;
    box-shadow: none;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    padding: 0;
    transition: all 0.2s ease;
}

    .otp-input:focus {
        background: #fff;
        border-color: #818cf8;
        box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
    }

@media (max-width: 767.98px) {
    .otp-grid {
        gap: 0.45rem;
    }

    .otp-input {
        height: 52px;
        border-radius: 14px;
        font-size: 1.15rem;
    }

    .otp-icon-wrap {
        width: 72px;
        height: 72px;
        border-radius: 20px;
        font-size: 1.75rem;
    }
}