/*--------------------------------/* Style for Select2 */---------------------------------------------*/
.select2-container {
    width: 100% !important;
    margin-top: 0;  /* Remove extra top margin */
    margin-bottom: 10px;  /* Match spacing between other fields */
}

.select2-selection {
    height: auto !important;
    border-radius: 0.375rem !important;  /* Match crispy rounded borders */
    border: 1px solid #d1d3e2 !important;  /* Match crispy border color */
    padding: 0.375rem 0.75rem !important;  /* Match padding */
    background-color: #fff !important;  /* Ensure background is white */
}

/* Style the dropdown */
.select2-dropdown {
    border-radius: 0.375rem !important;  /* Match rounded dropdown edges */
    border: 1px solid #d1d3e2 !important;  /* Match border color */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;  /* Add subtle shadow */
}

.select2-results__option {
    padding: 0.5rem 1rem !important;
}

/*----------------------------------------------------------------------------------------------------*/
.tiny-text {
    font-size:0.8rem;
}

img#logo-img-id {
    border: 1px solid #ddd;
    border-radius: 10px;
    margin = 0;
    width:50px;
}

.btn-logout {
    background-color: rgb(0, 0, 0, 0);
    border:none;
    line-height:0;
}

.table-title {
    background-color:#d4c8c7;
    margin-bottom:3px;
    padding:5px;
}

.table-row {
    background-color:#ebe6e6;
    margin-bottom:3px;
    padding:5px;
}

.margin-auto {
    margin:auto;
}

.form-title {
    text-align:center;
}

span.success-message {
    color:green;
}

#divShowMessage {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -50px;
    margin-left: -50px;
    width: 300px;
    height: 100px;
    padding:10px;
    background-color:red;
    z-index:2;
    border-radius:10px;
    color:#FFFFFF;
    text-align:center;
}

.list-item-title {
    color:blue;
}

input[name='username'], input[name='password'], input[name='old_password'], input[name='new_password1'], input[name='new_password2'] {
    direction: ltr;
}

.card {
    border: 1px solid gray !important;
    background-color: #e6f2ff !important;
    padding-top: 0.7rem;
}

li.success {
    list-style:none;
    color:green;
}

li.error {
    list-style:none;
    color:red;
}

#forgot_password {
    text-decoration: none;
}

.login-wrapper {
    margin-top:2rem !important;
    border:1px solid gray;
    border-radius:10px;
    padding:2rem;
}

.no-underline {
    text-decoration:none;
}

.menu_item_text {
    margin-right:1rem;
}

.asteriskField {
    color:red;
}

.hidden {
    display:none;
}

.jdateinput {
    background-color:#FFFFFF !important;
}

.error-list {
    color:red;
    list-style-type:none;
}

.input-with-calendar-icon {
    padding-left: 30px !important;
}

.input-icon {
    position: absolute;
    top: 50%;
    left: 10px;
    color: #aaa;
    pointer-events: none;
    font-size:1.5rem;
    margin-top:4px;
}

.input-with-calendar-icon[readonly] {
    background-color:#FFFFFF !important;
}

.hidden {
    display:none !important;
}



.bg-red-a { background-color: #f17070ba; }
.bg-red-b { background-color: #a42828ba; }
.bg-red-c { background-color: #dc353540; }
.bg-red-d { background-color: #dc3535e6; }
.bg-red-e { background-color: #e44b2eba; }
.bg-red-f { background-color: #e34d6bba; }
.bg-red-g { background-color: #b25c5cba; }
.bg-red-h { background-color: #ff2f2fba; }
.bg-red-i { background-color: #8b1c1cba; }
.bg-red-j { background-color: #f08080ba; }

.no-bullets {
    list-style-type:none;
}

.btn-group {
    display: flex;
}

.btn-group .btn {
    flex:1;
}
/* ------------------------------------------  Media Queries ---------------------------------------------- */

@media (max-width: 768px) {

    .rotated-90 {
        transform: rotate(-90deg);
        display: inline-block;
    }
    .tiny-text {
    font-size:0.8rem;
    }
}

@media print {
    .no-print {
        display: none !important;
    }
}