﻿#content {
    background: aliceblue;
}

#content p {
    line-height: 1.5;
}

/* Main container */
.container-login {
    display: flex;
    max-width: 1000px;
    width: 100%;
    background-color: white;
    /*border-radius: 10px;*/
    margin: 50px auto;
    overflow: hidden;
    border: 1px solid #2A6AA9;
    /*border-top-left-radius: 30px;*/
}

/* Left Section (Text Section) */
.left-section {
    width: 50%; /* Take half of the container on larger screens */
    /*background: linear-gradient(49deg, #dfdfdf, #d9f0f5, #a6c6d3);*/
    background: #2A6AA9;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    /*border-radius: 20px 0 0 0;*/
}

.left-section::before {
    /* content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.2) 1px, transparent 1px, transparent 40px), repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.2) 1px, transparent 1px, transparent 40px);
    border-radius: 20px 0 0 0;*/
}

.inner-box {
    width: 80%;
    background-color: #fff;
    backdrop-filter: blur(10px);
    padding: 30px;
    text-align: center;
    /*border: 1px solid rgba(255, 255, 255, 0.4);*/
    border-bottom: 1px solid white;
    border-right: 1px solid white;
}

.inner-box h1 {
    font-size: 28px;
    font-weight: 700;
    color: #484a4a;
    margin-bottom: 20px;
}

.inner-box p {
    font-size: 16px;
    color: #484a4a;
    text-align:left;
}


/* Right Section (Login Form) */
.login-container {
    background-color: white;
    padding: 60px 40px;
    width: 50%;
    box-sizing: border-box;
    border: 1px solid #dddcdc;
}

.login-header {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #333333;
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
}

.form-control {
    font-size: 16px;
    padding: 15px;
    width: 100%;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
}

.btn-login {
    /*background: linear-gradient(to right, #1594c5, #389bc1);*/
    color: white;
    padding: 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}

.btn-login:hover, .btn-login:focus, .btn-login:focus-visible {
    background: #2A6AA9;
}

.forgot-password {
    text-align: right;
    margin-top: 10px;
    margin-bottom: 10px;
}

.forgot-password a {
    color: #3f5efb;
    text-decoration: none;
    font-size: 14px;
}

.login-message {
    text-align: center;
    font-size: 16px;
    margin-bottom: 20px;
    color: #666;
}

.login-message-alert {
    background-color: #f0f3d7;
    color: #383838;
    border: 1px solid #CDDC39;
    margin-bottom: 10px;
    padding: 5px;
}

.error-message {
    color: #B30000;
    font-size: 14px;
    margin-top: 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container-login {
        flex-direction: column;
        max-width: 100%; /* Ensure full width on smaller screens */
        margin: 20px;
        width: 97%;
        padding: 10px;
    }

    .left-section {
        width: 100%; /* Full width on smaller screens */
        margin-bottom: 20px; /* Add space between sections */
    }

    .login-container {
        width: 100%; /* Full width on smaller screens */
        padding: 40px 20px;
        max-width: 100%; /* Ensure no horizontal overflow */
        box-sizing: border-box;
    }

    .btn-login {
        font-size: 14px;
        padding: 12px;
    }

    .form-control {
        padding: 12px;
    }

    .login-header {
        font-size: 20px;
    }
}

@@media (max-width: 480px) {
    .login-container {
        padding: 30px 15px;
        max-width: 100%; /* Ensure no horizontal overflow */
        box-sizing: border-box;
    }

    .login-header {
        font-size: 18px;
    }

    .form-control {
        padding: 10px;
    }

    .btn-login {
        font-size: 14px;
        padding: 10px;
    }

    .forgot-password {
        text-align: center;
    }

    .left-section {
        display: none; /* Hide left section on very small screens */
    }
}
