﻿/* main card container – modern, soft shadow */
.radio-card {
    max-width: 780px;
    width: 100%;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(0px);
    border-radius: 2.5rem;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    border: 1px solid rgba(255,255,255,0.6);
    padding: 1.8rem 2rem 2.2rem 2rem;
}

/* Headline area */
.selection-heading {
    font-weight: 600;
    font-size: 1.7rem;
    letter-spacing: -0.3px;
    color: #1a2c3e;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

    .selection-heading i {
        font-size: 2rem;
        color: #2c6e9e;
    }

.bi-shield-lock-fill {
    vertical-align: middle;
}

.brand-icon img {
    height: 79px;
}

.sub {
    color: #4a627a;
    font-weight: 500;
    border-left: 3px solid #3a86b0;
    padding-left: 12px;
    margin-top: 6px;
    margin-bottom: 1.8rem;
    font-size: 0.9rem;
}

/* custom radio group: clean pill-style segmented control with icons */
.travel-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

    /* hide native radio visually but keep accessible */
    .travel-radio-group .btn-radio-input {
        position: absolute;
        opacity: 0;
        width: 0;
        height: 0;
        pointer-events: none;
    }

    /* label styling – interactive card-like radio button */
    .travel-radio-group .radio-label {
        flex: 1 1 0;
        min-width: 80px;
        background: #f8fafc;
        border-radius: 2rem;
        padding: 0.9rem 0.5rem;
        text-align: center;
        cursor: pointer;
        transition: all 0.2s cubic-bezier(0.2, 0.9, 0.4, 1.1);
        border: 1.5px solid #e2edf2;
        box-shadow: 0 2px 4px rgba(0,0,0,0.02);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        font-weight: 500;
        color: #2c3e4e;
    }

    .travel-radio-group .radio-option{
        flex:auto;
    }

/* icon inside label */
.radio-label i {
    font-size: 1.9rem;
    transition: transform 0.15s ease;
    color: #5f7f9e;
}

.radio-label span {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* hover effect */
.travel-radio-group .radio-label:hover {
    background: #ffffff;
    border-color: #b9d4e5;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.15);
}

    .travel-radio-group .radio-label:hover i {
        transform: scale(1.05);
        color: #2c6e9e;
    }

/* checked state styling (radio selected) */
.travel-radio-group .btn-radio-input:checked + .radio-label {
    background: #1f5e8e;
    border-color: #0f4a6e;
    color: white;
    box-shadow: 0 12px 20px -10px rgba(26, 67, 113, 0.4);
}

    .travel-radio-group .btn-radio-input:checked + .radio-label i {
        color: white;
        text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    }

    .travel-radio-group .btn-radio-input:checked + .radio-label span {
        color: white;
    }

/* focus ring for accessibility */
.btn-radio-input:focus-visible + .radio-label {
    outline: 3px solid #ffb347;
    outline-offset: 2px;
    border-radius: 2rem;
}

/* result panel with feedback & jQuery dynamic message */
.feedback-panel {
    background: #eef3fa;
    border-radius: 1.5rem;
    padding: 1rem 1.5rem;
    text-align:center;
    align-items: center;
    
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
    border: 1px solid #cde3ef;
}

.selected-value {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    border-radius: 60px;
    padding: 0.45rem 1.2rem;
    box-shadow: inset 0 1px 1px #0001, 0 1px 2px white;
}

    .selected-value i {
        font-size: 1.5rem;
        color: #1f5e8e;
    }

    .selected-value .mode-badge {
        font-weight: 700;
        font-size: 1.2rem;
        color: #1a2c3e;
    }

.live-text {
    font-weight: 500;
    color: #1b4b6e;
    background: #fff;
    padding: 0.4rem 1.1rem;
    border-radius: 40px;
    font-size: 0.9rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.btn-reset {
    background: transparent;
    border: 1px solid #bfd7e5;
    border-radius: 2rem;
    padding: 0.4rem 1.2rem;
    font-weight: 500;
    transition: all 0.2s;
    color: #2c5a7a;
}

    .btn-reset:hover {
        background: #ffffff;
        border-color: #1f5e8e;
        color: #1f5e8e;
    }

hr {
    margin: 1.2rem 0 0.8rem 0;
    background: #cde0ea;
    opacity: 0.5;
}
    @media (max-width: 560px) {
        .radio-card {
            padding: 1.3rem;
        }

        .travel-radio-group .radio-label {
            min-width: 70px;
            padding: 0.7rem 0.2rem;
        }

        .radio-label i {
            font-size: 1.5rem;
        }

        .radio-label span {
            font-size: 0.85rem;
        }

        .selected-value .mode-badge {
            font-size: 1rem;
        }
    }

    /* Password Requirement */
    .requirement-met {
        color: #28a745;
        font-weight: 500;
        font-size: 10pt;
    }

    .requirement-not-met {
        color: #6c757d;
        font-size: 10pt;
    }

    #passwordStrength,
    #initialPasswordStrength {
        height: 5px;
        margin-top: 5px;
        margin-bottom: 15px;
    }

    /* TIMER */

    #timerDisplay {
        font-family: monospace;
        font-size: 1.5rem;
        line-height: 1.2;
        position: absolute;
        color: #cecdcd;
        width: 100%;
        margin-right: auto;
        margin-left: auto;
    }

    /***********/

    i {
        font-size: 16px;
    }

#feedbackArea {
    display:none;
}


@media (max-width: 992px) {
    #loginDiv .p-5 {
        padding: 1.5rem !important;
    }
    #feedbackArea {
        display: block;
    }
}
