@font-face {
    font-family: 'MiaMaNueva';
    src: url('font/miamanueva/miamanueva.otf') format('opentype');
    font-display: swap;
}
/* Fixed background image styling */
.fixed-background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    will-change: transform;
}

.fixed-background-image img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    display: block;
    will-change: transform;
}

/* Password Page Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'MiaMaNueva', sans-serif;
    background: linear-gradient(90deg, #E3D8E9 0%, #e6dfea 50%, #B6ABBC 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #79727A;
    overflow: hidden;
}

.password-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 40px;
    width: min(92vw, 600px);
    margin-top: 0;
}

/* Password Form Styling */
.password-form-wrapper {
    text-align: center;
    background:#B6ABBC;
    padding: 60px 50px;
    border-radius: 12px 12px 12px 12px;
    box-shadow: 0 8px 32px rgba(92, 77, 66, 0.15);
    backdrop-filter: blur(10px);
    position: relative;
    margin-top: 0;
    z-index: 1;
    animation: slideUpFromEnvelope 1.5s ease-out forwards;
    transform: translateY(28px);
    opacity: 0;
}

@keyframes slideUpFromEnvelope {
    0% {
        opacity: 0;
        transform: translateY(28px);
    }
    1% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.lavender-image {
    width: min(100%, 260px);
    height: auto;
    display: block;
    margin: 0 auto 14px;
    border-radius: 10px;
    opacity: 0.95;
}

.password-form-wrapper h1 {
    font-family: 'MiaMaNueva', sans-serif;
    font-size: 25px;
    color: #e6dfea;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.password-form-wrapper p {
    font-size: 16px;
    color: #79727A;
    margin-bottom: 40px;
    opacity: 0.8;
}

.password-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.password-form input {
    padding: 15px 20px;
    font-size: 16px;
    font-family: 'STIX Two Text', sans-serif;
    border: 2px solid #B6ABBC;
    border-radius: 8px;
    background: #e6dfea;
    color: #79727A;
    transition: all 0.3s ease;
    outline: none;
}

.password-form input:focus {
    border-color: #B6ABBC;
    background: #E3D8E9;
    box-shadow: 0 0 0 3px rgba(184, 212, 232, 0.1);
    transform: translateY(-2px);
}

.password-form input::placeholder {
    color: #79727A;
    opacity: 0.6;
}

.password-form button {
    padding: 15px 30px;
    font-size: 16px;
    font-family: 'STIX Two Text', sans-serif;
    background: #8a9366fc;
    color: #e6dfea;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(200, 184, 168, 0.3);
}

.password-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(200, 184, 168, 0.4);
}

.password-form button:active {
    transform: translateY(-1px);
}

.error-message {
    color: #e74c3c;
    font-size: 14px;
    min-height: 20px;
    margin-top: 10px;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .password-container {
        gap: 12px;
        padding: 20px;
        margin-top: 0;
        margin-bottom: 0;
    }

    .password-form-wrapper {
        padding: 40px 30px;
        margin-top: 0;
    }

    @keyframes slideUpFromEnvelope {
        0% {
            opacity: 0;
            transform: translateY(24px);
        }
        1% {
            opacity: 1;
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .password-form-wrapper h1 {
        font-size: 36px;
    }

    .password-form-wrapper p {
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    .password-container {
        gap: 10px;
        margin-top: 0;
        margin-bottom: 0;
    }

    .password-form-wrapper {
        padding: 30px 20px;
        margin-top: 0;
    }

    .password-form-wrapper h1 {
        font-size: 24px;
    }

    @keyframes slideUpFromEnvelope {
        0% {
            opacity: 0;
            transform: translateY(18px);
        }
        1% {
            opacity: 1;
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .lavender-image {
        max-width: 200px;
        margin-bottom: 10px;
    }
}

    .password-form input,
    .password-form button {
        font-size: 14px;
        padding: 12px 15px;
    }

