/* GLOBAL RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

html, body {
    height: 100%;
    overflow: hidden; /* scroll if needed */
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ddd;
    padding: 20px;
}

/* CONTAINER */
.container {
    display: flex;
    width: 70%;
    max-width: 900px;
    min-width: 300px;
   
    min-height: 80%;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    overflow: hidden;
    flex-wrap: wrap;
}

/* LEFT PANEL */
.left {
    width: 50%;
    background-color: #0d3281ea;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    overflow: hidden;
}

.left h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.left p {
    font-size: 1rem;
}

/* RIGHT PANEL */
.right {
    width: 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
    max-height: 90vh; /* scroll if content exceeds */
}

.right h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #0d3281ea;
}

.right_logo {
    display: none;
}

/* FORM */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-group input:focus {
    border-color: #0d3281ea;
    outline: none;
}

.btn {
    width: 100%;
    padding: 10px;
    background-color: #0d3281ea;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: #0b2a6b;
}

.register-link {
    text-align: center;
    margin-top: 10px;
    font-size: 0.9rem;
}

.register-link a {
    color: #0d3281ea;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .container {
        width: 90%;
    }
    .left {
        width: 40%;
        font-size: 0.9rem;
    }
    .right {
        width: 60%;
        padding: 30px;
    }
}

@media (max-width: 600px) {
    .container {
        flex-direction: column;
        width: 95%;
        height: auto;
    }
    .left {
        display: none;
    }
    .right {
        width: 100%;
        padding: 20px;
    }
    .right_logo {
        display: block;
        text-align: center;
        margin-bottom: 20px;
        color: #ffffffea;
        text-transform: uppercase;
        font-weight: bold;
        font-size: 20px;
        background-color: #0d3281ea;
        width: 50%;
        padding: 10px;
        border-radius: 5px;
        margin-left: auto;
        margin-right: auto;
    }
}
