/* ===== LOGIN SIMPLE CLEAN ===== */

.login-page {
    padding: 60px 0;
}


/* CARD */

.login-box {
    max-width: 500px;
    margin: 0 auto;
    background: #f4f6f5;
    border-radius: 16px;
    padding: 30px 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    position: relative;
}


/* thanh xanh trên */

.login-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: #1b7f3c;
    border-radius: 16px 16px 0 0;
}


/* TITLE */

.login-box h2 {
    font-size: 25px;
    margin-bottom: 30px;
    color: #2d3748;
}


/* LABEL */

.login-box label {
    display: block;
    font-size: 18px;
    margin-bottom: 10px;
    color: #1b5e3c;
    font-weight: 600;
}


/* INPUT */

.login-box .form-control {
    width: 100%;
    height: 58px;
    border-radius: 14px;
    border: 2px solid #cfe3d6;
    padding: 0 16px;
    font-size: 16px;
    background: transparent;
    outline: none;
    transition: 0.2s;
}


/* focus */

.login-box .form-control:focus {
    border-color: #1b7f3c;
    box-shadow: 0 0 0 3px rgba(27, 127, 60, 0.1);
}


/* khoảng cách */

.login-box input {
    margin-bottom: 26px;
}


/* ACTION */

.login-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}


/* BUTTON LEFT */

.btn-secondary {
    padding: 14px 24px;
    border-radius: 14px;
    border: 2px solid #c9d5df;
    background: transparent;
    color: #1b7f3c;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}

.btn-secondary:hover {
    background: #eef3f7;
}


/* BUTTON RIGHT */

.btn-primary {
    padding: 14px 36px;
    border-radius: 14px;
    background: #1b7f3c;
    color: white;
    border: none;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.btn-primary:hover {
    background: #166834;
    transform: translateY(-1px);
}


/* ERROR */

.admin-error {
    background: #ffe5e5;
    color: #c62828;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 500;
}


/* RESPONSIVE */

@media (max-width: 768px) {
    .login-box {
        padding: 30px 20px;
    }
    .login-actions {
        flex-direction: column;
        gap: 12px;
    }
    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
}