﻿body {
    height: 100vh;
    background: #e7f4ea; /* Background color */
    /* background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), #e7f4ea );*/ /* Linear gradient #2E8B57*/
    background-color: #e7f4ea;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* body { */
/* height: 100vh; */
/* background: #F5F6FA !important; */
/* display: flex; */
/* flex-direction: column; */
/* align-items: center; */
/* justify-content: center; */

/* background-size: cover; /* Adjust as needed */
/* background-repeat: no-repeat; /* Adjust as needed */
/* background: #16505c; /* Background color */
/* background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), #16505c); /* Linear gradient */
/* } */
.img-fluid {
    max-width: 100%;
    height: auto;
}

.navbar .navbar-brand {
    position: absolute;
    padding: 0;
    width: 170px;
    height: 135px;
    top: 0;
    left: 0;
}

.logo-img {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 275px; /* Adjust as needed */
    height: 137px; /* To maintain aspect ratio */
    margin-right: 10px; /* Add some margin to create space */
}


.card {
    overflow: hidden;
    border: 0 !important;
    border-radius: 25px !important;
    box-shadow: 0 0.5rem 1rem 0 rgba(0, 0, 0, 0.1);
    /* Adjusted width for larger card */
    width: 80%; /* Adjust as needed */
    /* height: auto;*/
}

.img-left {
    width: 65%;
    background: url('../img/AIMS_Login.jpeg') center;
    /*background: url('../img/AIMS_rose1.png') center center / contain no-repeat;*/
    background-size: cover;
}
/*body {
    min-height: 100vh;
    background: url('../img/AIMS_rose1.png') center center / cover no-repeat;
}*/

.card-body {
    /* Increased padding for a larger card */
    padding: 3rem; /* Adjust as needed */
}

.title {
    margin-bottom: 2rem;
}

.form-input {
    position: relative;
}

    /* .form-input input {
        width: 100%;
        height: 45px;
        padding-left: 40px;
        margin-bottom: 20px;
        box-sizing: border-box;
        box-shadow: none;
        border: 1px solid #00000020;
        border-radius: 50px;
        outline: none;
        background: transparent;
    }

    .form-input span {
        position: absolute;
        top: 10px;
        padding-left: 15px;
        color: #007bff;
    }*/

    .form-input input {
        width: 100%;
        height: 45px;
        padding-left: 40px;
        margin-bottom: 20px;
        box-sizing: border-box;
        box-shadow: none;
        border: 1px solid #28a74540; /* light green border */
        border-radius: 50px;
        outline: none;
        background: transparent;
        color: #155724; /* dark green text */
    }

        /* Focus state */
        .form-input input:focus {
            border-color: #28a745; /* strong green */
            box-shadow: 0 0 0 0.15rem rgba(40, 167, 69, 0.25);
        }

    /* Icon / prefix */
    .form-input span {
        position: absolute;
        top: 10px;
        padding-left: 15px;
        color: #28a745; /* green icon */
    }


    .form-input input::placeholder {
        color: black;
        padding-left: 0px;
    }

    .form-input input:focus {
        background-color: transparent !important;
    }

    .form-input input:valid {
        border: 2px solid #28a745; /* green for valid input */
    }



    .form-input input:focus::placeholder {
        color: #454b69;
    }

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #007bff !important;
    border: 0px;
}

.form-box button[type="submit"] {
    margin-top: 10px;
    border: none;
    cursor: pointer;
    border-radius: 50px;
    background: #007bff;
    color: #fff;
    font-size: 90%;
    font-weight: bold;
    letter-spacing: .1rem;
    transition: 0.5s;
    padding: 12px;
}

    .form-box button[type="submit"]:hover {
        background: #0069d9;
    }

.forget-link,
.register-link {
    color: #007bff;
    font-weight: bold;
}

    .forget-link:hover,
    .register-link:hover {
        color: #0069d9;
        text-decoration: none;
    }

.form-box .btn-social {
    color: white !important;
    border: 0;
    font-weight: bold;
}

.form-box .btn-facebook {
    background: #4866a8;
}

.form-box .btn-google {
    background: #da3f34;
}

.form-box .btn-twitter {
    background: #33ccff;
}

.form-box .btn-facebook:hover {
    background: #3d578f;
}

.form-box .btn-google:hover {
    background: #bf3b31;
}

.form-box .btn-twitter:hover {
    background: #2eb7e5;
}

.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -40px;
    margin-left: -40px;
    height: 350px;
}
/* .red-line { */
/* position: fixed; */
/* top: 0; */
/* left: 0; */
/* width: 20px; */
/* height: 100vh; */
/* background-color: #ffb3b3; */
/* margin-left: 1246px; /* Adjust the margin to add spacing */
/* } */
/* .blue-line { */
/* position: fixed; */
/* top: 0; */
/* left: 0; */
/* width: 32px; */
/* height: 100vh; */
/* background-color: #b3b3ff; */
/* margin-left: 1266px; /* Adjust the margin to add spacing */
/* } */
/* .yellow-line { */
/* position: fixed; */
/* top: 0; */
/* left: 0; */
/* width: 39px; */
/* height: 100vh; */
/* background-color: #ffff99; */
/* margin-left: 1298px; /* Adjust the margin to add spacing */
/* } */


/* ----------------------------------------------------
   Default style for all form controls
---------------------------------------------------- */
input,
textarea,
select,
.form-control {
    border: 1px solid #ccc; /* Default gray border */
    padding: 5px 10px;
    border-radius: 4px;
    transition: border-color 0.3s, box-shadow 0.3s; /* Smooth focus effect */
}

    /* ----------------------------------------------------
   Green focus style (overrides blue focus)
---------------------------------------------------- */
    input:focus,
    textarea:focus,
    select:focus,
    .form-control:focus {
        border: 2px solid #28a745 !important; /* Green border */
        outline: none !important; /* Remove blue outline */
        box-shadow: 0 0 5px #28a745 !important; /* Soft green glow */
    }

        /* ----------------------------------------------------
   Firefox fix (removes inner dotted border)
---------------------------------------------------- */
        input:focus::-moz-focus-inner,
        textarea:focus::-moz-focus-inner,
        select:focus::-moz-focus-inner {
            border: 0;
        }
/*  input:-webkit-autofill,
    input:-webkit-autofill:hover,
    input:-webkit-autofill:focus {
        -webkit-box-shadow: 0 0 0px 1000px #e7f4ea inset !important;
        -webkit-text-fill-color: #155724 !important;
    }*/