/* ================= ADMIN LOGIN CSS ================= */
/* Using ARRAM website color scheme */

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BASE - Using your website background */
body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f6f2ee; /* Your exact background color */
    color: #1f1f1f;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    line-height: 1.6;
}

/* LOGIN CONTAINER */
.login-container {
    width: 100%;
    max-width: 450px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08); /* Your shadow style */
    padding: 50px 45px;
    text-align: center;
    border: 1px solid rgba(200, 163, 77, 0.1); /* Gold border */
    border-left: 6px solid #c8a34d; /* Gold accent */
    position: relative;
    overflow: hidden;
}

/* Gold decorative corner */
.login-container::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(200, 163, 77, 0.05) 0%, transparent 70%);
    border-radius: 0 0 0 100%;
}

/* HEADER */
.login-header {
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 2px solid #c8a34d; /* Gold instead of red */
    position: relative;
}

.login-header::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #c8a34d, #d4b15c); /* Gold gradient */
    border-radius: 2px;
}

.login-title {
    font-size: 34px;
    font-weight: 700;
    color: #1a1a1a; /* Dark text like your website */
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.08);
    background: linear-gradient(135deg, #1a1a1a 0%, #2c1810 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-subtitle {
    font-size: 18px;
    color: #666;
    font-weight: 400;
    line-height: 1.4;
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
}

/* FORM */
.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
}

.form-label::after {
    content: " *";
    color: #c8a34d; /* Gold asterisk */
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(200, 163, 77, 0.3); /* Gold border */
    border-radius: 8px;
    font-size: 16px;
    background-color: #faf9f7; /* Light beige */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #333;
    font-family: 'Inter', sans-serif;
}

.form-input:focus {
    outline: none;
    border-color: #c8a34d; /* Gold focus */
    background-color: white;
    box-shadow: 0 8px 24px rgba(200, 163, 77, 0.15); /* Gold shadow */
    transform: translateY(-2px);
}

.form-input::placeholder {
    color: #999;
    font-style: italic;
    font-weight: 400;
}

/* CHECKBOX */
.remember-group {
    display: flex;
    align-items: center;
    margin: 25px 0 35px 0;
    justify-content: flex-start;
}

.remember-checkbox {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: #c8a34d; /* Gold checkbox */
}

.remember-label {
    font-size: 15px;
    color: #555;
    cursor: pointer;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.remember-checkbox:checked + .remember-label {
    color: #c8a34d; /* Gold when checked */
    font-weight: 600;
}

/* BUTTON - GOLD BUTTON like your website */
.login-button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #c8a34d 0%, #d4b15c 100%); /* Gold gradient */
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 8px 24px rgba(200, 163, 77, 0.3); /* Gold shadow */
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.login-button:hover {
    background: linear-gradient(135deg, #d4b15c 0%, #c8a34d 100%);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 32px rgba(200, 163, 77, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.login-button:active {
    transform: translateY(-2px) scale(1.01);
}

/* Shine effect on button */
.login-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.login-button:hover::before {
    left: 100%;
}

/* FORGOT PASSWORD */
.forgot-password {
    margin-top: 20px;
}

.forgot-password a {
    color: #c8a34d; /* Gold link */
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    font-family: 'Inter', sans-serif;
}

.forgot-password a:hover {
    color: #a8823a; /* Darker gold */
    border-bottom-color: #a8823a;
}

/* BACK LINK */
.back-link {
    display: inline-block;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 25px;
    font-weight: 500;
    padding: 5px 0;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.back-link:hover {
    color: #c8a34d; /* Gold on hover */
    transform: translateX(-3px);
}

/* MESSAGES */
.error-message {
    background: linear-gradient(135deg, rgba(228, 30, 38, 0.1) 0%, rgba(228, 30, 38, 0.05) 100%);
    color: #e41e26; /* Keep red for errors */
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 4px solid #e41e26;
    text-align: left;
    font-size: 14px;
    line-height: 1.5;
    font-family: 'Inter', sans-serif;
}

.success-message {
    background: linear-gradient(135deg, rgba(21, 87, 36, 0.1) 0%, rgba(21, 87, 36, 0.05) 100%);
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 4px solid #155724;
    text-align: left;
    font-size: 14px;
    line-height: 1.5;
    font-family: 'Inter', sans-serif;
}

/* RESPONSIVE */
@media (max-width: 480px) {
    .login-container {
        padding: 40px 30px;
        margin: 15px;
        border-radius: 10px;
    }
    
    .login-title {
        font-size: 28px;
    }
    
    .login-subtitle {
        font-size: 16px;
    }
    
    .form-input {
        padding: 12px 14px;
        font-size: 15px;
    }
    
    .login-button {
        padding: 14px;
        font-size: 16px;
    }
    
    .back-link {
        font-size: 13px;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-container {
    animation: fadeIn 0.6s ease forwards;
}