/* FULL PAGE */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0c7459, #0a5e49);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CONTAINER */
.login-container {
    display: flex;
    width: 850px;
    max-width: 95%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

/* LEFT SIDE */
.login-left {
    background: #0c7459;
    color: white;
    width: 40%;
    padding: 40px;
    text-align: center;
}

.login-left img {
    width: 100px;
    margin-bottom: 5px;
    border-radius: 7px;
}

.login-left h2 {
    margin-bottom: 10px;
}

.login-left p {
    font-size: 14px;
    opacity: 0.9;
}

/* RIGHT SIDE */
.login-right {
    width: 60%;
    padding: 40px;
}

.login-right h3 {
    margin-bottom: 20px;
    color: #0c7459;
}

/* INPUT GROUP */
.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
    font-size: 14px;
}

/* FLOAT LABEL */
.input-group label {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 13px;
    color: #999;
    transition: 0.2s;
    background: white;
    padding: 0 5px;
}

.input-group input:focus + label,
.input-group input:valid + label {
    top: -8px;
    font-size: 11px;
    color: #0c7459;
}

/* BUTTON */
button {
    width: 100%;
    padding: 12px;
    background: #ecbd00;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

/* ERROR */
.error {
    background: #ffe6e6;
    color: red;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    text-align: center;
}

/* MOBILE */
/* MOBILE FIX */
@media (max-width: 768px) {

    .login-container {
        flex-direction: column;
        width: 95%;
        margin: 20px auto;
        border-radius: 10px;
    }

    /* LEFT PANEL */
    .login-left {
        width: 95%;
        padding: 25px 15px;
    }

    .login-left img {
        width: 80px;
        margin-bottom: 5px;
    }

    .login-left h2 {
        font-size: 18px;
    }

    .login-left p {
        font-size: 13px;
    }

    /* RIGHT PANEL */
    .login-right {
        width: 90%;
        padding: 25px 15px;
    }

    .login-right h3 {
        text-align: center;
    }

    /* INPUTS FULL WIDTH */
    .input-group input {
        width: 95%;
    }

    /* BUTTON FULL WIDTH */
    button {
        width: 95%;
    }
}