/*********** select (START) *****************/


/*********** select (end) *****************/

/* Add globar variables for colors */
:root {
    --color-primary: #FF8C42;  /* Orange primary */
    --color-secondary: #FFA500;  /* Bright orange */
    --color-analogy: #FF6B35;  /* Darker orange */
}


/*********** colors (START) - Today's Buzz Orange Theme *****************/

.color-primary {
    color: #FF8C42;  /* Orange primary */
}

.bg-color-primary {
    background: #FF8C42;  /* Orange primary */
}

.color-primary-light {
    color: #FFE5D4;  /* Light orange */
}

.bg-color-primary-light {
    background: #FFE5D4;  /* Light orange */
}

.color-secondary {
    color: #FFA500;  /* Bright orange */
}

.bg-color-secondary {
    background: #FFA500;  /* Bright orange */
}

.color-analogy {
    color: #FF6B35;  /* Darker orange */
}

.bg-color-analogy {
    background: #FF6B35;  /* Darker orange */
}

.color-gray {
    color: #525252 !important;
}

.color-danger {
    color: #A52D2E !important;
}

.color-black {
    color: black !important;
}

/*********** colors (END) *****************/

.error-message {
    padding: 5px;
    color: red;
    background-color: #f8d7da;
    margin-bottom: 10px;
}

input:-webkit-autofill {
    background-color: white !important; /* Or any desired color */
    color: black !important; /* Ensure the text is visible */
    transition: background-color 5000s ease-in-out 0s; /* Prevent autofill color flash */
}

.main-bg-color {
    background-color: #eaeaea;
}

.table-shadow {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 1.5);
    border-radius: 50px; /* Optional: Rounds the corners */
    overflow: hidden; /* Ensures the shadow is neat */
}

.btn-gray {
    color: #adb7ba !important; /* Light text */
    background-color: #FFFFFF !important; /* White background */
    border-color: #adb7ba !important;/* Light border */
}

/* .:focus {
  border-color: #ccc !important;   *//* Set a custom border color (e.g., light gray) *//*
  box-shadow: none !important;      *//* Remove the focus box-shadow *//*
} */

.required:after {
    content:"*";
    color: #FF8C42;  /* Orange */
}

/*********  Modal css  ***************************/

.btn-danger-outline {
    background-color: white !important;
    border-color: white !important;
    color: #FF8C42 !important;  /* Orange */
}

.btn-danger-outline:hover {
    background-color: #FF8C42 !important;  /* Orange */
    color: white !important;
}

.btn-primary {
    background-color: #0d6efd !important;  /* Bootstrap default blue */
    border-color: #0d6efd !important;
    color: white !important;
}

.btn-primary:hover {
    background-color: #0b5ed7 !important;  /* Bootstrap default blue hover */
    color: white !important;;
}

.btn-primary-lighter {
    background-color: #FFE5D4 !important;  /* Light orange */
    border-color: #FFE5D4 !important;
    color: #FF8C42 !important;  /* Orange text */
}

.btn-primary-lighter:hover {
    background-color: #FFCDB0 !important;  /* Slightly darker light orange */
    color: #FF8C42 !important;
}

.btn-secondary {
    background-color: #FFA500 !important;  /* Bright orange */
    border-color: #FFA500 !important;
    color: white !important;
}

.btn-secondary:hover {
    background-color: #FF8C00 !important;  /* Darker bright orange */
    color: white !important;
}

.btn-analogy {
    background-color: #FF6B35 !important;  /* Darker orange */
    border-color: #FF6B35 !important;
    color: white !important;
}

.btn-analogy:hover {
    background-color: #E55A2B !important;  /* Even darker orange */
    color: white !important;
}


/**************  Filters *******************/

.filter-form-select {
    color: #808080;
    padding: 0.5rem 1rem;  /* Add padding for better spacing */
    font-size: 1rem;       /* Set font size */
    border-radius: 0.375rem; /* Rounded corners */
    border: 1px solid #ccc;  /* Border color */
    background-color: #fff ;  /* White background */
    transition: border-color 0.3s ease; /* Smooth transition on focus */
}

.filter-form-select:focus {
    border-color: #007bff;  /* Change border color on focus */
    outline: none;  /* Remove default outline */
    box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.25); /* Blue shadow */
}

/****************** CSS for tables ***********************/
.table {
    border: 2px solid #007bff;  /* Border color and width */
    border-radius: 10px;  /* Rounded corners for the table */
    border-collapse: separate;  /* Prevent borders from collapsing into each other */
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.table th {
    vertical-align: top;
    text-align: center;
    font-size: 12px;
}

.table td {
    vertical-align: middle;
    text-align: center;
    font-size: 14px !important;
}

/***************** close button in modals *************/
.custom-close-btn {
  background-color: #FF8C42; /* Orange background */
  color: white; /* White text for the "X" */
  border: none;
  border-radius: 50%; /* Circular button */
  width: 30px;
  height: 30px;
  font-size: 16px; /* Adjust font size for the "X" */
  line-height: 30px; /* Center align text vertically */
  text-align: center; /* Center align text horizontally */
  cursor: pointer;
  padding: 0;
  transition: background-color 0.3s ease;
}

.custom-close-btn:hover {
  background-color: #FF6B35; /* Darker orange on hover */
}

.gray {
    color: gray;
    opacity: 0.5;
}

.red-bg-and-text-for-fullname {
    display: inline-block;
    background-color: #F0DBDB !important;
    color: #B04748 !important;
    border-radius: 10px;
}

.green-bg-and-text {
    display: inline-block;
    background-color: #EEFFE3 !important;
    color: #227F5B !important;
    font-size: 14px;
    line-height: 1.3;
    padding-left: 5px;
    padding-right: 5px;
}

.red-bg-and-text {
    display: inline-block;
    background-color: #F0DBDB !important;
    color: #B04748 !important;
    font-size: 14px;
    line-height: 1.3;
    padding-left: 5px;
    padding-right: 5px;
    }

.gray-bg-and-dark-text {
    display: inline-block;
    background-color: #cecfd0 !important;
    font-size: 14px;
    line-height: 1.3;
    padding-left: 5px;
    padding-right: 5px;
}

.text-danger-me {
    color: #A52D2E !important;
}

.text-green {
    color: #227F5B !important;
}


/************ Modals ***************/
/* Fix z-index for modals to appear above spinner overlay */
.modal {
    z-index: 1060 !important;  /* Higher than spinner overlay (1050) */
    position: fixed !important;
}

.modal-backdrop {
    z-index: 1055 !important;  /* Between spinner and modal */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
}

.modal-primary {
    background-color: #FFFFFF !important;  /* White background instead of blue */
    color: #333333 !important;  /* Dark text */
    border: 1px solid #E0E0E0 !important;  /* Light gray border */
}

.modal-primary label {
    color: #333333 !important; /* Dark label color */
    font-weight: 500;
}

.modal .modal-cancel-btn {
    background: white;
    color: #FF8C42;  /* Orange */
    border: 1px solid #FF8C42;
}

.modal .modal-cancel-btn:hover {
    background: #FF8C42;  /* Orange */
    color: white;
}


.modal-body .form-label {
    color: black;
    display: block !important;
    font-style: italic !important;
    /*opacity: 0.6 !important;*/ /* Reduce opacity (0.0 to 1.0 scale) */
    /*font-size: 1.1rem; *//* Increase font size */
    /*font-weight: bold;  Make the text bold */
   /* color: #495057;  Dark text color */
    /*margin-bottom: 0.5rem;*/ /* Add spacing below the label */
    /*display: block;  Ensure label is a block-level element */
}


/***********  Breadcrumb css****************/
.custom-breadcrumb {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #666;
}

.custom-breadcrumb a {
    text-decoration: none;
    color: #007bff;
    transition: color 0.2s ease-in-out;
}

.custom-breadcrumb a:hover {
    color: #0056b3;
}

.separator {
    margin: 0 8px;
    color: #999;
}

.current {
    font-weight: bold;
    color: #333;
}


.profile-card {
    width: 100%;
    margin: auto;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}
.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}
.btn-primary-custom {
    background-color: #a31e22;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
}
.label {
    font-weight: bold;
    color: #777;
    font-size: 14px;
}
.value {
    font-weight: bold;
    font-size: 16px;
}
.highlight-badge {
    background-color: #fff3cd;
    color: #000;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 5px;
}

.my-ul-list {
    list-style-type: none;
    background-color: #adb7ba;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 1;
    cursor: pointer;
}

/***** Pagination Start ******************/

.pagination {
        display: flex;
        justify-content: center;
        margin-top: 20px;
}
.page-item {
    margin-right: 5px;
}
.page-item.active .page-link {
    background-color: #FF8C42;  /* Orange */
    border-color: #FF8C42;
    color: white !important
}
.page-link {
    color: #FF8C42 !important;  /* Orange */
    font-weight: normal;
}
.page-link:hover {
    background-color: #FF8C42 !important;  /* Orange */
    color: white !important;
    opacity: 0.5;
}
.page-item.disabled .page-link {
    color: #ccc;
}

/***** Pagination End ******************/

.login-input {
    color: #FF8C42 !important;  /* Orange */
}


.login-input::placeholder {
    color: #FF8C42 !important;  /* Orange */
}

.login-input:-webkit-autofill {
    -webkit-text-fill-color: black !important; /* Prevents autofill from overriding text color */
    caret-color: #FF8C42; /* Orange cursor */
    transition: background-color 5000s ease-in-out 0s; /* Prevents quick revert */
}

.my-input:-webkit-autofill::first-line {
    color: white !important; /* Ensures text color changes */
}

/* For Firefox */
.my-input:autofill {
    background-color: yellow !important;
    color: black !important;
}

/****************  Global spinner overlay (START) ******/
#spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7); /* Ημιδιαφανές λευκό background */
    backdrop-filter: blur(5px); /* Θόλωμα του background */
    display: none; /* Κρυφό αρχικά */
    z-index: 1050; /* Υψηλό z-index για να καλύπτει τα πάντα */
}

/****************  Global spinner overlay (END) ******/

/****************  Date Input Styling (START) ******/
input[type="date"] {
    padding: 0.5rem;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

input[type="date"]:focus {
    border-color: #FF8C42;  /* Orange border on focus */
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 66, 0.25);  /* Orange shadow */
}

input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: invert(56%) sepia(85%) saturate(1500%) hue-rotate(340deg) brightness(100%) contrast(101%);  /* Orange icon */
}

/****************  Date Input Styling (END) ******/

/******  Icons for add button  and sorting (START)  *********************/
.button-icon,
.button-add-icon {
    width: 14px !important;  /* Set the width of the image (adjust as needed) */
    height: 14px !important; /* Set the height of the image (adjust as needed) */
    margin-right: 6px !important; /* Adjust the spacing between the icon and the text */
    vertical-align: middle !important; /* Ensure the icon aligns vertically with the text */
}

.add-button {
    background-color: #a52d2e; /* Brownish-red background */
    color: white; /* White text */
}

/******  Icons for add button  and sorting (END)  *********************/


.disabled-button {
    opacity: 0.5;
    cursor: not-allowed;
}

.divider-menu {
    height: 1px;
    background-color: #d3d3d3;  /* Light gray */
    margin: 8px 10px;
    opacity: 0.6;
}