* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: "Segoe UI", Arial, sans-serif; */
    font-family: 'Poppins', sans-serif;
}

body {
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    background:
        linear-gradient(135deg,
            #111827,
            #1f2937);
}

.login-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-card {
    width: 420px;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 20px;
    border: 3px solid #d6c3a0;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, .25);
    text-align: center;
}

.logo-box {
    font-size: 42px;
    margin-bottom: 10px;
}

.login-card h1 {
    color: #111827;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
}

.login-card p {
    margin: 8px 0 25px;
    font-size: 14px;
    color: #777;
}

.subtitle {
    color: #6b7280;
    margin-bottom: 30px;
}

/* =========================
   FORM GROUP
========================= */

.form-group {
    text-align: left;
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;

    /* font-size: 14px; */
    font-weight: 500;

    color: #374151;
}

.form-group input {
    width: 100%;

    padding: 14px 16px;

    border: 1px solid #d1d5db;
    border-radius: 12px;

    font-size: 14px;

    box-sizing: border-box;

    transition: .3s;
}

.form-group input:focus {
    outline: none;

    border-color: #2563eb;

    box-shadow: 0 0 0 4px rgba(37, 99, 235, .15);
}

/* button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(to bottom, #2d3e55, #1b2838);
    border: none;
    border-radius: 6px;
    color: #d6b97a;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

button:hover {
    opacity: 0.95;
} */

.btn-login {
    width: 100%;

    padding: 15px;

    border: none;

    border-radius: 12px;

    background: linear-gradient(135deg,
            #2563eb,
            #1d4ed8);

    color: white;
    font-size: 15px;
    font-weight: 600;
    transition: .3s;
    cursor: pointer;
}

.btn-login:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 20px rgba(37, 99, 235, .25);
}

.error {
    background: #fee2e2;
    color: #dc2626;

    padding: 12px;
    border-radius: 10px;

    margin-bottom: 20px;
    font-size: 14px;
}

.footer {
    display: block;
    margin-top: 25px;
    font-size: 13px;
    color: #9ca3af;
}


.password-box {
    position: relative;
}

.password-box input {
    width: 100%;
    padding-right: 50px;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);

    cursor: pointer;
    font-size: 18px;

    user-select: none;
}

.register-link {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #666;
}

.register-link a {
    color: #2f6fed;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

.register-link a:hover {
    text-decoration: underline;
}

.remember-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0 20px;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.remember-me input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.forgot-password {
    text-decoration: none;
    color: #2d63e2;
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
}