﻿body {
    margin: 0;
    font-family: "Segoe UI", sans-serif;
    background: #2e7d32;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.login-container {
    background: #fff;
    display: flex;
    max-width: 1000px;
    width: 100%;
    min-height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    margin: auto; /* center vertically with flex */
}

/* LEFT SIDE */
.info-side {
    flex: 1;
    position: relative;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    /* current desktop/tablet circle */
    .info-side::before {
        content: "";
        position: absolute;
        top: -100px;
        left: -100px;
        width: 390px;
        height: 390px;
        background: radial-gradient(circle at 30% 30%, #c8e6c9, #81c784);
        border-radius: 50%;
        z-index: 0;
    }

/* make it larger on mobile */
@media (max-width: 768px) {
    .info-side {
        overflow: visible;
    }
        /* ensure the circle isn't clipped */
        .info-side::before {
            width: 110vw; /* big, responsive circle */
            height: 110vw;
            top: -45vw; /* move up a bit */
            left: 50%; /* center horizontally */
            transform: translateX(-50%);
        }
}

.info-content {
    position: relative;
    z-index: 1;
    max-width: 480px;
}

    .info-content h1 {
        font-size: 42px;
        font-weight: 800;
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .info-content p {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 10px;
        color: #444;
    }

    .info-content small {
        display: block;
        margin-top: 20px;
        font-size: 13px;
        color: #333;
    }

/* RIGHT SIDE */
.form-side {
    flex: 0 0 380px;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.login-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    width: 100%;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

    .login-card h2 {
        margin: 0 0 20px;
        text-align: center;
        font-size: 20px;
        font-weight: 600;
    }
    .login-card input[type="text"],
    .login-card input[type="password"],
    .login-card button {
        width: 100%; /* take full card width */
        box-sizing: border-box; /* include padding/border in width */
        display: block; /* align properly */
    }

.form-group {
    margin-bottom: 16px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

.alert {
    background: #ef5350;
    color: #fff;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px;
}

.checkbox {
    margin-bottom: 15px;
    font-size: 14px;
}

button {
    width: 100%;
    background: #2e7d32;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
}

    button:hover {
        background: #1b5e20;
    }

/* FOOTER */
footer {
    text-align: center;
    padding: 12px;
    font-size: 13px;
    color: #fff;
    background: #1b5e20;
    margin-top: auto;
}

    footer small {
        margin: 0 10px;
        display: inline-block;
    }

    footer i {
        margin-right: 4px;
        color: #ffeb3b; /* icon accent color */
    }

@media (max-width: 992px) {
    .login-container {
        flex-direction: column;
        border-radius: 0;
    }

    .info-side {
        padding: 40px 20px;
        text-align: center;
    }

        .info-side::before {
            left: 50%;
            top: -150px;
            transform: translateX(-50%);
        }

    .form-side {
        flex: 1;
        padding: 20px;
    }
}
