* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ddd;
    overflow: hidden; /* full page scroll remove */
}

.container {
    display: flex;
    width: 70%;
    height: 70%;
    min-height: 400px; /* minimum height */
    max-height: 90vh;  /* maximum height */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

/* Left Panel */
.left {
    width: 50%;
    background-color: #0d3281ea;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    min-height: 100%;
}


   
.left h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}


.left p {
    font-size: 1rem;
    text-align: center;
}

/* Right Panel */
.right {
   
    width: 50%;
    background-color: white;
    padding: 40px; /* horizontal और vertical padding adjust */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* top से content शुरू हो */
    overflow-y: auto; /* scroll enable */
    max-height: 100%; /* container height के हिसाब से */


}

.right h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #0d3281ea;
}

.right .right_logo {
    display: none;
}

.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;
}

.login-link {
    text-align: center;
    margin-top: 10px;
    font-size: 0.9rem;
}

.login-link a {
    color: #0d3281ea;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px){
    .container {
        flex-direction: column;
        width: 90%;
        height: auto; /* let content define height */
        max-height: 90vh;
    }

    .left {
        display: none;
    }

    .right {
        width: 100%;
        max-height: 80vh; /* scrollable on mobile */
        overflow-y: auto;
    }

    .right .right_logo {
        text-align: center;
        margin-bottom: 20px;
        color: #ffffffea;
        text-transform: uppercase;
        font-weight: bold; /* corrected */
        font-size: 20px;
        background-color: #0d3281ea;
        width: 50%;
        padding: 10px;
        border-radius: 5px;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
}
