
/* Simple yellow stars — no frame, no bg */
.starboard {
  --star-size: 1.6rem;            /* tweak size */
  --star-filled: #ffc107;         /* yellow */
  /* --star-empty:  #d9d9d9;         /* light gray for empty outline */
  --star-empty:  #ffc107;        
  user-select: none;
}

.starboard .star-btn {
  all: unset;                     /* nuke button styles (no border/bg) */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--star-size);
  height: var(--star-size);
  line-height: 1;
  font-size: var(--star-size);
  cursor: pointer;
}

.starboard .starbutton-checked   { color: var(--star-filled); }
.starboard .starbutton-unchecked { color: var(--star-empty);  }

/* Optional tiny press effect; remove if you want zero animation */
.starboard .star-btn:active { transform: scale(.96); }

/* If the select is disabled and you toggle wrapper .is-disabled in JS */
.starboard.is-disabled .star-btn { cursor: default; opacity: .6; }

/* No focus ring since there’s no keyboard interaction */
.starboard .star-btn:focus { outline: none; }



.OLDslide-menu {
    position: fixed;
    top: 8%;          /* 15% from the top */
    bottom: 8%;       /* 15% from the bottom */
    right: -50%;       /* Initially off-screen */
    width: 50%;        /* A third of the screen */
    background-color: #f1f1f1;
    box-shadow: -2px 0px 5px rgba(0, 0, 0, 0.5);
    overflow: auto;
    transition: right 0.3s ease; /* Smooth sliding transition */
    z-index: 1000; /* Ensure it's on top */
    padding: 20px;
    border-radius: 10px; /* Optional: rounded corners for a smoother look */
}

/* Close button style */
.close-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #ff5f5f;
    border: none;
    color: white;
    padding: 5px 10px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 3px;
}

/* When the menu is open */
.OLDslide-menu.open {
    right: 0; /* Slide in from the right */
}


    /* #existingRecordsTable    table, th, td {
        border: 1px solid black;
        padding: 0px; 
    } */

    /* #existingRecordsTable th{
        background-color: #837f7f;
        padding: 0px; 
    } */

    /* #existingRecordsTable table {
        width: 100%;
        border-collapse: collapse;
    } */

    /* Reduce margin in row height */
    /* #existingRecordsTable td {
        padding: 0px; 
    }    */


    /* Background color for header */
    /* #existingRecordsTable thead th {
        background-color: #837f7f; 
        padding: 0px; 
        
    } */

    /* Background color for search column */
    /* #existingRecordsTable thead input {
        background-color: #fff9f9; 
        width: 80%;
        margin: 2px; 
        padding: 0px; 
    } */


.custom-icon-button {
  
    width: 16px;
    height: 16px;
    background-size: contain;
    border: 1px solid #000; 
    padding: 2px; 
    border-radius: 3px;
    cursor: pointer;
}

/* Minimized View Styles */
#skill-widget-summary {
    padding: 10px;
    background-color: #E6F0FF; /* Light blue background */
    border-radius: 8px; /* Rounded corners */
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#skill-widget-summary::after {
    content: '';
    width: 6px;
    height: 10px;
    background-size: contain;
    margin-left: 10px;
    cursor: pointer;
}

/* Hover effects for minimized view */
#skill-widget-summary:hover::after {
    transform: scale(1.2);
}




.select2-selector {
  width: 100% !important; 
  box-sizing: border-box;
}

.select2-selection {
  width: 100% !important;
}



.attribute-container > div {
  display: block;          /* ensures it respects width:100% */
  width: 100%;             /* fills the <td> */
  box-sizing: border-box;  /* includes padding in width calculation */
}


/* Starboard als einzeilige Leiste, aber schrumpfbar */
.starboard {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: .25rem;
  width: 100%;
  min-width: 0;
}
.starboard .star-btn { flex: 0 0 auto; }




  /* Style for the loading overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    /* background-color: rgba(245, 10, 10, 0.8); */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.loading-text {
    font-size: 24px;
}


/* DataTables related styles */
/* .dataTables_wrapper {
    width: 100%;
    overflow-x: auto;
}

.dataTables_wrapper .dataTables_scroll {
    overflow: auto;
} */

/* .dataTables_scrollHeadInner {
    display: table;
    width: 100% !important;
} */

/* .dataTables_scrollHeadInner table {
    width: 100% !important;
    margin: 0;
} */

/* .dataTables_scrollBody {
    overflow: auto;
    height: calc(100vh - 250px); 
} */

 /*Ensure the fixed header stays in place */
/*
 .dataTables_fixedHeader {
    position: fixed; 
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030; 
    background-color: white; 
} 

*/

.bold-option {
    font-weight: bold;
}
.italic-option {
    font-style: italic;
}
.normal-option {
    font-weight: normal;
}

.midrange-option {  /* used in skill level select to indicate midrange levels */
    background-color: green !important;
    font-weight: bold !important;
}
.borderline-option {  /* used in skill level select to indicate borderline levels */
    background-color: orange !important;
    
}
.outside-option {  /* used in skill level select to indicate outside levels */
    background-color: rgb(227, 81, 81) !important;
    font-style: italic !important;
}



body{
background-color: #fafafa; /*  rgb(238, 238, 238) '/
/* rgba(240, 229, 214, 0.959); */

}

table.dataTable th, table.dataTable td {
    white-space: nowrap;
}

/* Reduce margin in row height */


.dataTables_scrollHead thead tr th {
    background-color: lightblue !important;
}
table.dataTable tbody td {
    text-align: left !important;
}
table.dataTable tbody td {
    text-align: left !important;
}


table.dataTable {
    margin: 0 !important;
}
/* Background color for search column */
table.dataTable thead input {
    background-color: #e6e6e6; /* Adjust color as needed */
    color: #333; /* Adjust text color as needed */
   
    
} 

.dataTables_wrapper .dataTables_scrollBody {
    overflow-x: auto !important;
    text-align: left !important;
}


.dataTables_scrollBody table {
    margin-left: 0 !important;
    margin-right: auto !important;
    text-align: left !important;
}
.dataTables_scrollHeadInner {
    margin-left: 0 !important;
    width: auto !important;
      text-align: left !important;
}

.dataTables_scrollHead {
    overflow: hidden !important;

}

.dataTables_scroll .dataTables_scrollBody {
    overflow-x: auto !important;
}


.dataTables_wrapper .dataTables_scroll {
    overflow-x: auto !important;
}



.input-table table, 
.input-table th, 
.input-table td {
    border: 1px solid black;
    padding: 0px; /* Adjust padding as needed */
}

.input-table th{
    background-color: #837f7f;
    padding: 0px; /* Adjust padding as needed */
}

.input-table  {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}


.drag-drop-area-close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.drag-drop-area {
    border: 2px dashed #ccc;
    padding: 20px;
    cursor: pointer;
    background-color: #c6dcf1;
    position: relative;
    text-align: left; /* Ensure text is left-aligned */
}

.drag-drop-area.dragging {
    border-color: #007bff;
    background-color: #419df3;
}

.heroline {

    font-size: 70px;
    padding: 5px;
    background: -webkit-linear-gradient(#c9c9c9, #252525);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.herocontainer {
    margin-left: 25px;
    margin-top: 30px;
}



.navi {
    box-shadow: 0 0px 10px -2px rgba(0,0,0,.2);
}

.footer{
    position: fixed; 
    bottom: 0;
    left: 0;
    right: 0;
    height: 35px;
    box-shadow: 0 0px 10px 2px rgba(0,0,0,.2);
    background-color: #ffffff !important;
}

.receipt_list_hovered {
    background-color: #c4d9eee0; /* Add your preferred highlight color here */
}

    /* Add this style to your <style> tag or CSS file */
    .reduced-height-form-control {
        height: 40%; /* Adjust the height as needed */
        padding: 0;
        margin:0;
    }
    .reduced-height-form-label {
        height: 20%; /* Adjust the height as needed */
        padding: 0;
    }




.bg-body-tertiary {
    background-color: #f5deb3
    /* Add any other styles you want to customize */
}

#demo{
font-size: 30px;

}

/* This is to disable the spinners (up and down arrows on number fields) */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance:textfield; /* Firefox */
}





    /* Hide spinner controls for number inputs inside form-control */
    .form-control input[type="number"]::-webkit-inner-spin-button,
    .form-control input[type="number"]::-webkit-outer-spin-button,
    .form-control input[type="number"] {
      -webkit-appearance: none;
      margin: 0;
    }

  



.maxWidth {
    max-width:100%;
}


    /* Style for the scrollable container */
.scrollable-container2 {
        max-height: 200px; /* Set the maximum height of the container */
        width: 30%;
        overflow-y: scroll; /* Enable vertical scrolling */
        border: 1px solid #ccc;  /*Add a border for styling */
        padding: 10px; /* Add padding for content */
    }

    /* Optional: Style for list items */
.list-item {
        padding: 5px;
        /* border-bottom: 1px solid #ddd; /* Add a border between list items */
    }


    .custom-validation-message {
        background-color: #ffdddd;
        border: 1px solid #2f00ff;
        color: #ff0000;
        padding: 8px;
        position: absolute;
        z-index: 1000; /* Ensure it's on top of other elements */
        border-radius: 4px;
        font-size: 14px;
        border-radius: 4px;
        margin-top: -10px;
        margin-left: 5px;

    }


    .masked-select-field {
        -webkit-appearance: none;  /* Safari and Chrome */
        -moz-appearance: none;     /* Firefox */
        appearance: none;
        border: none;
        background: none;
        width: 100%;
        padding: 0;
        margin: 0;
        outline: none; /* To remove the focus outline */
        font-family: inherit; /* Ensures font consistency with surrounding text */
        font-size: inherit; /* Ensures font size consistency with surrounding text */
        color: inherit; /* Ensures color consistency with surrounding text */
        cursor: default; /* Changes cursor to default instead of pointer */
    } 
    

    .editing_background {
        background-color: #f2a257;
    }



    .masked-select-field option {
        display: none; /* Hides the options from being displayed */
    }


    .hidden-debug-element {
        display: none;
      }


        .modal-dialog {
    width: auto;
    max-width: 80vw;
    margin: auto;
  }

  .modal-content {
    max-height: 80vh;
    overflow: auto;
  }

  .modal-body {
    overflow-y: auto;
  }


  .spinner {
  border: 6px solid #f3f3f3; /* Light grey */
  border-top: 6px solid #0078D7; /* Blue */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
  