
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Candal', sans-serif;
}


body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image: url("img/login.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f5f5f5;
}


.container {
    display: flex;
    width: 90%;
    max-width: 1000px;
    height: auto;
    min-height: 560px;
    background: #ffffff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}


.left-panel {
    flex: 1;
    background-color: #2f4939;
    color: #ffffff;
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
}

.nav-links a.active {
    text-decoration: underline;
    font-weight: 700;
}


.illustration {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.illustration img {
    max-width: 200px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.illustration h3 {
    font-family: 'Candal', sans-serif;
    margin-top: 15px;
    font-size: 28px;
    letter-spacing: 1px;
}

.illustration p {
    font-family: 'Candal', sans-serif;
    font-size: 12px;
    opacity: 0.85;
    margin-top: 6px;
}


.right-panel {
    flex: 1;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-box {
    width: 80%;
    max-width: 330px;
}

.login-box h2 {
    font-family: 'Candal', sans-serif;
    font-size: 32px;
    text-align: center;
    margin-bottom: 25px;
    color: #2f4939;
}

.input-group {
    position: relative;
    margin-bottom: 15px;
}

.input-group input {
    width: 100%;
    padding: 12px 40px;
    border-radius: 25px;
    border: none;
    background-color: #eaeaea;
    outline: none;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #2f4939;
}


.options {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 15px;
}

.options label,
.options a {
    color: #2f4939;
    text-decoration: none;
}


.btn {
    width: 100%;
    padding: 12px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn-login {
    background-color: #2f4939;
    color: #ffffff;
    margin-bottom: 10px;
}

.btn-login:hover {
    background-color: #23362a;
}

.btn-signup {
    background-color: #e0e0e0;
    color: #333;
}

.btn-signup:hover {
    background-color: #cfcfcf;
}


.divider {
    text-align: center;
    font-size: 13px;
    color: #23362a;
    margin: 10px 0;
}


.error-message {
    background-color: #ffe5e5;
    color: #b30000;
    border: 1px solid #ff9999;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}


.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    z-index: 1000;
}

.modal-content {
    background: #ffffff;
    margin: 10% auto;
    padding: 25px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
}

.modal-content h3 {
    color: #2f4939;
    margin-bottom: 10px;
}

.modal-content p {
    color: #4a4a4a;
    margin-bottom: 20px;
}

.modal-content input {
    width: 80%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #c8d8cf;
    margin-bottom: 15px;
}

.btn-send {
    background-color: #2f4939;
    color: #ffffff;
    padding: 10px 25px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}


.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #ccc;
    color: #444;
    padding: 10px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    width: 100%;
    margin-bottom: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-google:hover {
    background: #f7f7f7;
}

.btn-google i {
    margin-right: 8px;
}



html,
body {
    width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}


body {
    min-height: 100svh;
}


.container {
    width: 100%;
    margin: 20px;
}

/* Mobile layout */
@media (max-width: 768px) {

    body {
        align-items: flex-start;
        padding-top: 20px;
    }

    .container {
        flex-direction: column;
        margin: 10px;
        border-radius: 24px;
    }

    .left-panel,
    .right-panel {
        width: 100%;
        padding: 20px;
    }

    .login-box {
        width: 100%;
        max-width: 320px;
    }
}
