/* =========================================================================
   STATE 2: PASSWORD INPUT (Glassmorphism Premium Design)
========================================================================= */
#state-password {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    padding: 40px 30px;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    text-align: center;
    animation: scaleUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleUp {
    0% { opacity: 0; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

.glass-panel h2 {
    color: #ffffff;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 35px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.input-group {
    margin-bottom: 30px;
}

.input-group input {
    width: 100%;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    padding: 18px;
    color: #fff;
    font-size: 20px;
    text-align: center;
    outline: none;
    transition: all 0.3s ease;
    user-select: auto;
    -webkit-user-select: auto;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.2);
    -webkit-text-security: disc;
}

.input-group input:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 15px rgba(74, 144, 226, 0.3), inset 0 2px 5px rgba(0,0,0,0.2);
    background: rgba(0, 0, 0, 0.4);
}

.input-group input[type=number]::-webkit-inner-spin-button, 
.input-group input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    appearance: none;
    margin: 0; 
}
.input-group input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.primary-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    border: none;
    border-radius: 18px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 15px;
    transition: all 0.2s ease;
    box-shadow: 0 10px 20px rgba(74, 144, 226, 0.3);
}

.primary-btn:active {
    opacity: 0.8;
    transform: scale(0.97);
}

.secondary-btn {
    width: 100%;
    padding: 18px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.secondary-btn:active {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0.97);
}

