body {
    /* background-color: #dfdfdf !important; */
    font-family: 'Arial', sans-serif;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1)), url(../../assets/img/bg2.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center center;
    margin: 0;
    padding: 0;
}

.card {
    border-radius: 10px;
    box-shadow: 0 0px 10px rgb(0 0 0 / 50%);
    overflow: hidden;
    width: 35%;
    background: #f4f4f4;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.card-header {
    background: #334551;
    text-align: center;
}

.card-header img {
    width: 10px;
    margin-right: 10px;
}


.card-body {
    /* padding: 20px; */
}

.form-control {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    width: 100%;
}

.form-check-input {
    margin-right: 5px;
}

.btn {
    font-size:1rem;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    padding: 10px;
}

.btn:hover {
    background-color: #2779bd;
}

.btn-secondary {
    background-color: #00244b;
    color: #fff !important;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: #004277;
}

.card-footer {
    text-align: right;
    /* padding: 10px 20px; */
}

.text-muted a {
    color: #007bff;
    font-weight: bold;
    text-decoration: none;
}

.text-muted a:hover {
    text-decoration: underline;
}

.text-sm {
    font-size: 16px;
}
.navbar-brand-img {           
    width:160px; 
    height: auto; 
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left:22px;
    
}

.footer 
{
    background-color: #333; 
    color: #fff; 
    padding: 20px; 
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 99%;
    margin-left: -10px;
}

label[for="email"] 
{
    font-weight: bold;
    display: block; 
    font-size: 1rem;
}

label[for="password"] 
{
    font-weight: bold;
    display: block; 
    font-size: 1rem;
}

.form-check-label{
    font-size: 1rem;
}

.card-footer a 
{
    font-size:1rem;
    text-decoration: none;
    color: #007bff; 
    font-weight: bold;
    transition: color 0.3s ease; 
}

.card-footer a:hover 
{
    color: #1f618d; 
}

a.text-dark.font-weight-bolder {
    text-decoration: none;
    color: #007bff; 
    font-weight: bold;
    transition: color 0.3s ease; 
}

.text-danger 
{
    color: red;
    font-size: 12px;
    margin-top: -15px;
}

.alert-success {
    background-color: #d4edda; 
    color: #155724; 
    border-color: #c3e6cb; 
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 1rem;
}

.alert-danger {
    background-color: #e6c3c3; 
    color: #a80606; 
    border-color: #e6c3c3; 
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 1rem;
}

@media (max-width: 1199px) {
    .card {
        width: 40%;
    }
}

@media (max-width: 991px) {
    .card {
        width: 50%;
    }
}

@media (max-width: 768px) {
/* Apply styles for screens up to 768px width (e.g., phones) */

    section {
        align-items: flex-start; /* Adjust alignment for smaller screens */
        
    }

    .card {
        width: 70%;
    }

    .card-header span {
        font-size: 1.5rem; /* Decrease font size for smaller screens */
        margin-left: 0; /* Reset left margin for smaller screens */
    }

    .navbar-brand-img {
        margin-left: 40px; /* Reset left margin for smaller screens */
    }
}

@media (max-width: 499px) {
    .card {
        width: 80%;
    }
}

.border{
    border-width:0px;
}
    
.section-height-75{
    margin-top:25px;
}

.logo{
    max-width:175px;
    height:auto;
}

.header-label{
    font-size:1.25rem;
    color:white;
}

.left{
    float:left;
}

.right{
    float:right;
}
.errmsg{
    padding-top: 1.5em;
}