* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Georgia, serif;
    background: #f7f1e8;
    color: #5a1f2d;
}

.login-page {
    min-height: 100vh;
    display: flex;
}

.login-image {
    width: 42%;
    background-image: url("../Image/Homepage.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.login-form-box {
    width: 58%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f7f1e8;
    padding: 50px 70px;
}

.login-content {
    width: 100%;
    max-width: 500px;
}

.login-form-box h1 {
    font-size: 36px;
    margin-bottom: 14px;
}

.login-form-box h2 {
    font-size: 28px;
    margin-bottom: 8px;
}

.login-form-box p {
    font-size: 15px;
    margin-bottom: 25px;
}

form label {
    display: block;
    margin-bottom: 7px;
    font-size: 15px;
    font-weight: bold;
}

form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #bfa7a0;
    border-radius: 8px;
    background: white;
    font-size: 14px;
}

form button {
    width: 100%;
    padding: 12px;
    border: none;
    background: #5a1f2d;
    color: white;
    border-radius: 30px;
    font-size: 15px;
    cursor: pointer;
}

.form-link {
    text-align: center;
    margin-top: 22px;
}

.form-link a {
    color: #5a1f2d;
    font-weight: bold;
    text-decoration: none;
}

.form-link a:hover {
    text-decoration: underline;
}

/* SUCCESS POPUP */

.success-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.popup-box {
    width: 380px;
    background: white;
    padding: 35px;
    border-radius: 22px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.check-icon {
    width: 55px;
    height: 55px;
    background: #5a1f2d;
    color: white;
    border-radius: 50%;
    margin: 0 auto 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
}

.popup-box h3 {
    color: #5a1f2d;
    margin-bottom: 12px;
    font-size: 24px;
}

.popup-box p {
    color: #4f3b3b;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.popup-box button {
    background: #5a1f2d;
    color: white;
    border: none;
    padding: 11px 30px;
    border-radius: 30px;
    cursor: pointer;
}

.popup-box button:hover {
    background: #7a3044;
}

/* CLIENT LOGIN BUTTON */

.login-btn{
    width:100%;
    padding:13px;
    border:none;
    border-radius:30px;
    background:#5a1f2d;
    color:white;
    cursor:pointer;
    font-size:15px;
    transition:.3s;
}

.login-btn:hover{
    background:#7a3044;
}

/* DIVIDER */

.divider{
    display:flex;
    align-items:center;
    margin:22px 0;
}

.divider::before,
.divider::after{
    content:"";
    flex:1;
    height:1px;
    background:#d9c9c2;
}

.divider span{
    margin:0 12px;
    color:#8b6f73;
    font-size:14px;
}

/* ADMIN BUTTON */

.admin-btn{
    display:block;
    width:100%;
    text-align:center;
    padding:13px;
    border-radius:30px;
    border:2px solid #5a1f2d;
    text-decoration:none;
    color:#5a1f2d;
    font-weight:bold;
    transition:.3s;
}

.admin-btn:hover{
    background:#5a1f2d;
    color:white;
}

.error-message {
    background: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 20px;
    font-size: 14px;
}
/* RESPONSIVE */

@media (max-width: 850px) {
    .login-page {
        flex-direction: column;
    }

    .login-image {
        width: 100%;
        height: 260px;
    }

    .login-form-box {
        width: 100%;
        padding: 40px 30px;
    }

    .login-content {
        max-width: 100%;
    }

    .popup-box {
        width: 90%;
    }
}

