﻿.select2-container .select2-selection--single {
    height: 38px;
    width: 100%;
}
.select2-container--default .select2-selection--single  {
    border-radius: 12px !important;
}

span.select2-selection.select2-selection--multiple {
    border-radius: 12px;
}
.form-control {
    border-radius: 12px !important;
}

.required:after {
    content: " *";
    color: red;
}

.card-body {
    background: #4884a805;
}

.card-header {
    padding: 0;
}

.main-header {
    box-shadow: 0 6px 5px rgb(0 128 128 / 22%); /* Optional: Add shadow to the navbar */
}

.content-wrapper {
    margin-top: 50px; /* Adjust this value based on your header height */
    background:white;
}

    .content-wrapper > .content {
        padding: 0%; /* Adjust this value based on your header height */
    }

.input-group-text {
    color: #fff;
    background-color: #438fc0 !important;
    border-radius: 12px;
}

.input-group-prepend {
    margin-right: -6px;
    /* position: relative; */
}
.main-footer {
    background-color: #fff;
    border-top: 1px solid #dee2e6;
    color: #000000;
    padding: 1rem;
}

table.dataTable td.col-wrap {
    white-space: normal !important;
    word-wrap: break-word;
    width: 350px; /* optional, controls how narrow/wide it wraps */
}

#LogoNew1 {
    background-color: #85CEBA; /* Change this to your desired background color */
    color: white; /* Text color */
    padding: 10px 15px; /* Padding for better appearance */
    border: none; /* Remove default border */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Change cursor on hover */
    /* Add more styles as needed */
}
/*select2-container--default .select2-selection--single .select2-selection__rendered {
            height: 100%;
        }*/

/* Basic styling for the loading spinner */
.loading-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    text-align: center;
    padding-top: 20%;
}

.loading-spinner {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}
/* Center the login & register pages */
.auth-page {
    height: 100vh; /* Full viewport height */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f4f6f9; /* Light grey background */
}

/* Auth card (Login & Register) */
.auth-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.toast-center {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    position: fixed !important;
    width: auto !important;
}

#confirmationButtonYes, #confirmationButtonNo {
    margin: 5px;
}

.dt-buttons button {
    margin-right: 5px !important;
    max-width: 40px;
}

img {
    border-radius: 12px;
    border-color: black !important;
    object-fit: cover; /* Keeps the content nicely cropped if resized */
}
/* Fullscreen background overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5); /* semi-transparent black */
    z-index: 9998;
    display: none;
    pointer-events: auto;
}

/* Loader box (popup) */
.loader-box {
    position: fixed;
    z-index: 9999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 10px;
    padding: 30px 40px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    display: none;
}

/* Spinner animation */
.spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #007bff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
