@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('../../asset/img/header/a.png') no-repeat center center/cover;
    position: relative;
    overflow: hidden;
}

/* Fallback background if image is missing */
body::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
    z-index: 1;
}

.login-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 450px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.logo-section {
    margin-bottom: 30px;
}

.logo-section img {
    max-width: 180px;
    margin-bottom: 15px;
}

.logo-section h2 {
    font-size: 24px;
    color: #333;
    font-weight: 700;
}

.logo-section p {
    font-size: 14px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group {
    text-align: left;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 15px;
    background: rgba(240, 245, 255, 0.5);
    transition: all 0.3s;
}

.input-wrapper input:focus {
    outline: none;
    border-color: #c9a66a;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(201, 166, 106, 0.1);
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #777;
}

.btn-login {
    width: 100%;
    padding: 14px;
    background: #c9a66a;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.btn-login:hover {
    background: #b8955a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 166, 106, 0.4);
}

.alert {
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 14px;
}

.alert-danger {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.footer-text {
    margin-top: 20px;
    font-size: 13px;
    color: #888;
}

@media (max-width: 480px) {
    .login-container {
        margin: 20px;
        padding: 30px 20px;
    }
}