/* ======= Global Reset ======= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(to bottom, #0c65c3, rgb(183, 207, 224));
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
}

.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    height: auto;
    padding: 5%;
}

/* ======= Left Section (Logo & Caption) ======= */
.left-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo img {
    max-width: 100%;
    height: auto;
}

.logo-caption {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-top: 10px;
}

/* ======= Right Section (Login Box) ======= */
.right-section {
    background: white;
    padding: 40px;
    width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
}

.right-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
}

label {
    display: block;
    text-align: left;
    font-size: 14px;
    font-weight: bold;
    margin-top: 10px;
}

/* ======= Input Fields ======= */
input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-top: 5px;
}

.password-box {
    position: relative;
}

.password-box input {
    padding-right: 35px;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 16px;
    color: #555;
}

/* ======= Forgot Password & Remember Me ======= */
.remember-forgot {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 15px;
    align-items: center;
    color: #777;
}

.remember-forgot a {
    text-decoration: none;
    color: #0073c6;
    font-weight: bold;
}

/* ======= Button Styling ======= */
button {
    width: 100%;
    padding: 12px;
    background-color: #5d96cf;
    border: none;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    margin-top: 20px;
    cursor: pointer;
}

button:hover {
    background-color: #4a7db3;
}

@media screen and (max-width: 1024px) {
    .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center; /* Proper centering */
        min-height: 100vh; /* Full screen height */
        width: 100%;
        padding: 20px; /* Extra padding for spacing */
    }

    .right-section {
        order: -1;
        width: 90%;
        max-width: 400px; /* Balanced width */
        padding: 30px;
        margin: 10px 0; /* Maintain space */
    }

    .left-section {
        order: 1;
        text-align: center;
        width: 100%;
        margin-top: 10px; /* Space between login and logo */
    }

    .left-section img {
        max-width: 50%; /* Optimize logo size */
    }

    .logo-caption {
        font-size: 16px;
    }

    button {
        font-size: 16px;
        padding: 12px;
    }
}


@media screen and (max-width: 1280px) and (max-height: 800px) {
    .container {
        justify-content: flex-start; /* Top cut issue fix */
        padding-top: 10px; /* Thoda aur neeche shift */
    }

    .right-section {
        margin-top: 30px; /* Login box neeche shift */
        padding: 30px;
        width: 90%;
        max-width: 420px;
    }

    .left-section {
        margin-top: 10px; /* Thoda gap maintain karne ke liye */
    }

    .left-section img {
        max-width: 30%; /* Logo chota kar diya */
    }

    .logo-caption {
        font-size: 18px; /* Hindi text bada aur clear */
        font-weight: bold;
        margin-top: 5px; /* Extra space taaki scroll na ho */
    }
}


 

