/* General styles for both pages */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    max-width: 450px;
}

.card {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 450px;
    width: 100%;
}

h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.mb-3 {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
    text-align: left;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 7px;
    font-size: 16px;
    text-align: left;
}

.error {
    color: red;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

button {
    background-color: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 10px;
    font-size: 16px;
    border-radius: 7px;
    margin-top: 10px;
    width: 100%;
}

button:hover {
    background-color: #ea990e;
}

.alert {
    text-align: center;
}

/* -----------------------------------------------------Sign-up page specific styles---------------------------------- */
.bg-light-signup {
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: url('../images/ip2.jpg') no-repeat center center/cover; /* Sign-up page background */
}

.card-signup {
    max-width: 450px;
}

/* -----------------------------------------------------Sign-in page specific styles---------------------------------- */
.bg-light-signin {
    background-color: #f4f7fa;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: url('../images/ip3.jpg') no-repeat center center/cover; /* Sign-in page background */
}

.signin-container {
    width: 100%;
    max-width: 450px; /* Set a max-width for the sign-in card */
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Light shadow to create separation */
    border-radius: 8px;
}

.card-signin {
    padding: 30px;
}

.signin-heading {
    text-align: center;
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.error {
    color: red;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

/* Button hover effect specific to sign-in page */
.btn-primary {
    background-color: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    width: 100%;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* Link styles for both pages */
.text-center a {
    color: #007bff;
    text-decoration: none;
}

.text-center a:hover {
    text-decoration: underline;
}

.text-center p {
    font-size: 14px;
}

/* Links between Sign In, Forgot Password, and Forgot Username */
/* Styling for links */
.mt-3 a {
    color: #007bff;
    text-decoration: none;
}

.mt-3 a:hover {
    text-decoration: underline;
}

.text-center p {
    font-size: 14px;
}

/* Error class */
.error {
    color: red;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}


/* Responsive Fix for both pages */
@media (max-width: 500px) {
    .signin-container {
        padding: 15px;
    }

    .form-control {
        font-size: 14px;
    }
}



/*---------------------------------------------------- forgot_password--------------------------------------------- */



.fg_pass_container {
    font-family: Arial, sans-serif;
    background-color: #000;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}
.container_1 {
    background: #222;
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    max-width: 450px;
}
.h2_1 {
    text-align: center;
}
.form_group_1 {
    margin-bottom: 20px;
}
.form_group_1 label {
    display: block;
    margin-bottom: 5px;
}
.form_group_1 input {
    width: 95%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #333;
    color: white;
}
.form_group_1 .info-link{
    font-size: 14px;
    padding-left: 0px;
    margin-left:3px;
    text-decoration: underline;
    cursor: pointer;
}
.btn_1 {
    width: 100%;
    padding: 15px;
    margin: 13px auto;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.btn_1:hover {
    background-color: #0056b3;
}
.btn_container_1 {
    display: flex;
    justify-content: space-between;
}
.btn_container_1 button {
    width: 48%;
 
}
.btn_1:hover, .btn_1:active {
    background-color: #ff9800 !important;
    color: #000 !important;
}

@media (max-width: 500px) {
    .btn_container_1 {
        flex-direction: column;
    }
    .btn_container_1 button {
        width: 100%;
        margin-bottom: 10px;
    }
}



/* -----------------------------------------------dashboard--------------------------------------------------------------------- */


.header {
    background-color: #007bff;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .logo img {
    width: 50px;
    height: auto;
}

.sidebar {
    width: 250px;
    min-height: 100vh;
    background-color: #343a40;
    color: white;
    padding: 15px;
    position: fixed;
    top: 0;
    left: 0;
}

.sidebar .logo {
    cursor: pointer;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px;
    color: white;
    display: flex;
    align-items: center;
}

.sidebar .logo i {
    margin-right: 10px;
}

.sidebar .logo:hover {
    background-color: #495057;
}
