/* 1. Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 2. Body Centering */
/* 2. Body Centering & Fixed Background */
body.login-page {
    background-image: url('images/b7.png') !important;
    background-size: cover !important; /* 'cover' is better than 100% 100% to prevent squishing */
    background-attachment: fixed !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: #f7f2e7;
    font-family: 'Poppins', sans-serif;
    
    /* Centering the card */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

/* 3. Login Card */
.login-card {
    background: rgba(255, 255, 255, 0.85);
    background-color: #ffffff;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 50px 40px;
    border-radius: 20px;
    width: 100%;
    max-width: 380px;
    margin: 20px;
    border: 1px solid rgba(255, 223, 131, 0.3);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    text-align: center;
}

/* 4. Branding & Text Styles */
.login-logo {
    font-family: 'Playfair Display', serif;
    color: #433422;
    font-size: 2.2rem;
    margin-bottom: 5px;
}

h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #533d2e;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
}

.subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #533d2e;
    opacity: 0.7;
    margin-bottom: 35px;
}

/* 5. Input Groups */
.input-group {
    margin-bottom: 18px;
    width: 100%;
}

.input-group input {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid rgba(255, 223, 131, 0.5);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    outline: none;
    transition: 0.3s ease;
}

.input-group input:focus {
    border-color: #d4a373;
    background: #fff;
}

/* 6. Buttons */
.btn-login {
    width: 100%;
    padding: 14px;
    background: #d4a373;
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.2);
    transition: 0.3s;
}

.btn-login:hover {
    background: #c5a059;
    transform: translateY(-2px);
}

/* 7. Error Banner */
.error-banner {
    color: #d9534f;
    background: #ffe5e5;
    padding: 10px;
    border-radius: 50px;
    margin-bottom: 20px;
    font-size: 0.8rem;
}

/* 8. Footer */
.login-footer {
    margin-top: 30px;
    font-size: 0.85rem;
    color: #433422;
}

.login-footer a {
    color: #a67c52;
    text-decoration: none;
    font-weight: bold;
}

.back-shop {
    display: inline-block;
    margin-top: 15px;
    color: #888 !important;
    text-decoration: none;
    font-size: 0.8rem;
}

/* Style for the Forgot Password container */
.forgot-password-link {
    text-align: right;
    margin-bottom: 20px;
    padding-right: 10px;
}

.forgot-password-link a {
    font-size: 0.8rem;
    color: #a67c52;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    opacity: 0.8;
    transition: 0.3s;
}

.forgot-password-link a:hover {
    opacity: 1;
    text-decoration: underline;
}