﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    /*  height: 100%;*/
    font-family: Arial, sans-serif;
    background-color: #dbd7d7;
    /* height: 100vh;*/
    min-height: 100vh; /* Ensures the body takes full viewport height */
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Start from the top --flex-start */ /* Center vertically --center */
    overflow-x: auto; /* Prevent horizontal scrolling */
    overflow-y: auto; /* Ensure vertical scrolling is enabled if needed */
}
body {
    flex-grow: 1; /* Makes sure body fills remaining space */
}

.login-container {
    background: #fff;
    padding: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    width: 100%; /* Take full available width */
    max-width: 900px; /* Optional: Restrict the max-width */
    min-width: 200px; /* Optional: Ensure form doesn't shrink too much */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center the contents horizontally */
    overflow: hidden; /* Hide any content that goes beyond the container */
   /* margin-top: 20px;*/
    flex-grow: 1; /* Allows the container to grow and fill available space */
}

.login-image {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}

    .login-image img {
        width: 100%; /* Make the image responsive */
        height: auto; /* Maintain the aspect ratio */
        max-width: 300px; /* Optional: Limit max width of the image */
    }

.login-form {
    width: auto; /* Let the width adjust based on content */
    padding: 0;
    margin: 0;
    text-align: center;
   /* gap: 15px; /* Adds spacing between elements */
}

    .login-form h3 {
        margin-bottom: 10px;
    }
    .login-form h6 {
        margin-bottom: 5px;
    }

.left {
    text-align: left;
}

.form-group {
    margin-bottom: 10px;
}

    .form-group label {
        display: block;
        margin-bottom: 4px;
        font-size: 14px;
    }

.form-control {
    width: 100%;
    padding: 6px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-top: 4px;
    white-space: nowrap; /* Prevent wrapping of text */
    overflow: hidden; /* Hide any overflow */
    text-overflow: clip; /* Optionally, add ellipsis for overflow text */
}

    .form-control:focus {
        border-color: #66afe9;
        outline: none;
        box-shadow: 0 0 6px rgba(102, 175, 233, 0.8); /* Adds a soft glow effect */
    }

.f-label {
    width: 100%;
    padding: 6px;
    font-size: 14px;
    margin-top: auto;
}

.labelpadding {
    width: 100%;
    padding: 0px;
    font-size: 14px;
	margin-top: auto;
}

.f-label label{
    font-size: 20px;
    margin: auto;
}

.disabledLabel {
    background: #e9ecef;
}

.btn {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    border: none;
    color: white;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease; /* Smooth hover transition */
}

    .btn:hover {
        background-color: #0056b3;
    }

.table-container {
    width: 100%;
    overflow-x: auto; /* Enables horizontal scrolling for small screens */
    margin-top: 20px;
    display: flex;
    justify-content: center; /* Centers the table */
}

table {
    width: auto;
    border-collapse: collapse;
    margin-top: 10px;
    border:none;
}

table, th, td {
   border: 1px solid #ccc;
}

th, td {
    padding: 8px;
    text-align: left; /* Left-aligns the content inside table cells */
    font-size: 14px;
}

th {
    background-color: #f2f2f2;
    font-weight: bold;
}

@media (max-width: 768px) {
    table {
        font-size: 12px; /* Reduces the font size on smaller screens */
    }

    th, td {
        padding: 6px;
    }
}

@media (max-width: 480px) {
    .login-container {
        width: 100%;
        padding: 15px;
    }

    .form-control {
        font-size: 12px;
    }

    .btn {
        font-size: 14px;
    }
    .login-image img {
        max-width: 100%; /* Allow image to take full width on smaller screens */
    }
}
