/* General Reset */
body {
    font-family: sans-serif;
    background-color: rgb(230, 231, 232);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #333;
    height: 100vh;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

/* Login Container Image */
.login-container img {
    width: 40px;
    margin-bottom: 20px;
}

/* Login Container */
.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%; /* Use relative width for responsiveness */
    max-width: 500px; /* Maintain maximum width */
}

/* Form */
.login-container form {
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.258); /* Soft and modern shadow */
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    width: 100%; /* Full width of the container */
}

/* Form Header */
.login-container form form-header {
    padding: 10px;
    text-align: center;
    background: #2B3E5C;
    color: #FFFFFF;
}

/* Form Body */
.login-container form form-body {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.login-container form form-body form-i {
    display: flex;
    flex-direction: column;
}

.login-container form form-body form-i input {
    margin-top: 4px;
}

.login-container form form-body button {
    margin-top: 10px;
    width: max-content;
}

/* Restriction Box */
.restriction-box-message {
    border: 1px solid #34a853; /* Green border for positive emphasis */
    background-color: #eaffea; /* Very light green background */
    color: #34a853; /* Matching green for text */
    width: 100%; /* Use relative width for responsiveness */
    max-width: 500px; /* Maintain maximum width */
    margin-bottom: 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    text-align: left; /* Align content to the left for better readability */
}

/* Error Message Styling */
#error-message {
    display: none; /* Hidden by default */
    background-color: #f8d7da; /* Light red background for error */
    color: #721c24; /* Dark red text for better readability */
    border: 1px solid #f5c6cb; /* Subtle red border */
    padding: 10px 15px; /* Inner spacing for readability */
    font-size: 14px; /* Matches the body font size */
    text-align: center; /* Centered text */
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
}

/* Restriction Box Content */
.restriction-box-message .message {
    text-align: left; /* Align content within the message box to the left */
    padding: 20px; /* Spacing within the box */
}

/* Restriction Box Heading */
.restriction-box-message .message h4 {
    color: #155724; /* Dark green for emphasis */
}

/* Restriction Box Paragraph and List */
.restriction-box-message .message p {
    color: #155724; /* Dark green for text */
}

.restriction-box-message .message ul {
    list-style-type: disc; /* Bullet points */
    padding-left: 20px; /* Indentation for the list */
}

.restriction-box-message .message ul li {
    color: #155724; /* Dark green for list items */
}

/* Media Query for Smaller Screens */
@media (max-width: 768px) {
    body {
        font-size: 12px; /* Reduce font size slightly for smaller screens */
    }

    .login-container img {
        width: 30px; /* Reduce image size */
    }

    .restriction-box-message, 
    .login-container {
        width: 95%; /* Slightly smaller width for very small screens */
    }

    .login-container form form-body {
        padding: 15px; /* Adjust padding for smaller screens */
    }

    .restriction-box-message .message {
        padding: 15px; /* Adjust padding for smaller screens */
    }
}
