/* General Styles */
body {
    font-family: sans-serif;
    color: #333333; /* Replace var(--bs-body-color) */
    background-color: #f8f8ff;
}

/* Material Background */
.material-half-bg {
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: -1;
}

    .material-half-bg .cover {
        background: linear-gradient(to bottom, #1c1c64, #4a90e2);
        height: 50%;
    }

/* Login Content */
.login-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-box {
    position: relative;
    max-width: 350px !important;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(to bottom, #ffffff, #f9f9ff);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
    padding: 30px 40px;
}

/* Login Header */
.login-head {
    font-size: 26px;
    font-weight: 600;
    color: #0039a6;
    text-align: center;
    margin-bottom: 20px;
}

/* Input Styles */
.stylish-input {
    border: 1.5px solid #cccccc;
    border-radius: 25px;
    padding: 12px 15px;
    font-size: 14px;
    margin-bottom: 15px;
    transition: all 0.3s;
}

    .stylish-input:focus {
        outline: none;
        border-color: #0039a6;
        box-shadow: 0px 0px 6px rgba(92, 85, 191, 0.5);
    }

/* Button Styles */
.btn-stylish {
    background-color: #0039a6;
    color: #ffffff;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    font-weight: bold;
    padding: 10px 20px;
    margin-top: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

    .btn-stylish:hover {
        background-color: #4b48a6;
        box-shadow: 0px 8px 15px rgba(92, 85, 191, 0.3);
        transform: translateY(-2px);
    }

/* Utility Links */
.utility {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
    font-size: 14px;
}

    .utility .text-link {
        color: #0039a6;
        font-weight: 500;
        text-decoration: none;
        transition: color 0.3s;
    }

        .utility .text-link:hover {
            color: #4b48a6;
            text-decoration: underline;
        }

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .login-box {
        width: 90%;
        padding: 20px 25px;
    }

    .login-head {
        font-size: 20px;
    }

    .stylish-input {
        font-size: 13px;
    }
}

/* Other styles with replacements */
.form-control {
    display: block;
    width: 330px;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 2;
    color: #333333; /* Replace var(--bs-body-color) */
    background-color: #ffffff; /* Replace var(--bs-body-bg) */
    border: 2px solid #dee2e6; /* Replace var(--bs-border-color) */
    border-radius: 4px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

    .form-control:focus {
        color: #333333; /* Replace var(--bs-body-color) */
        background-color: #ffffff; /* Replace var(--bs-body-bg) */
        border-color: #0039a6; /* Replace rgba(var(--bs-primary),1) */
        outline: 0;
        box-shadow: none;
    }

    .form-control::placeholder {
        color: #6c757d; /* Replace var(--bs-secondary-color) */
        opacity: 1;
    }

    .form-control:disabled {
        background-color: #e9ecef; /* Replace var(--bs-secondary-bg) */
        opacity: 1;
    }

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: 0.25rem !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}
.label-text {
    font-weight: 500;
}

.login-content .login-box .btn-container {
    text-align: center;
    margin-bottom: 0;
}

.d-inline {
    display: inline !important;
}

.d-inline-block {
    display: inline-block !important;
}

.d-block {
    display: block !important;
}

.d-grid {
    display: grid !important;
}

.d-inline-grid {
    display: inline-grid !important;
}

.d-table {
    display: table !important;
}

.d-table-row {
    display: table-row !important;
}

.d-table-cell {
    display: table-cell !important;
}

.d-flex {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
}

.d-inline-flex {
    display: -webkit-inline-box !important;
    display: -ms-inline-flexbox !important;
    display: inline-flex !important;
}

.d-none {
    display: none !important;
}

.custom-btn {
    background-color: #023ABE;
    border: none;
    font-size: 18px;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

    .custom-btn:hover {
        background-color: #0343DF;
    }

.btn-block{
    color:white;
}

.forgot-password-box, .reset-password-box {
    max-width: 356px;
    margin: 50px auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.forgot-password-head, .reset-password-head {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
    color: #023ABE;
}

.custom-btn {
    background-color: #023ABE;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    padding: 10px;
    transition: background-color 0.3s;
}

    .custom-btn:hover {
        background-color: #0343DF;
    }

.text-postion{
    text-align:center;
}

.text-danger {
    color: #ed5249 !important; /* Adds a simple red color */
    min-width: 350px !important;
    text-align:center;
}

.text-success {
    color: green !important; /* Adds a simple red color */
    min-width: 350px !important;
    text-align: center;
}

.toggle-password {
    border: none;
    background: none;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.form-check-input,
.form-check-label {
    cursor: pointer;
}

