h1 small {
    font-size: 65% !important;
    font-weight: 300;
    color: grey;
}

.label-row {
    margin-top: -.7rem;
    margin-bottom: .35rem;
}

.td-align-right {
  text-align: right !important;
}

.sidebar i {
    margin-left: .05rem;
    font-size: 1.2rem;
    margin-right: .2rem;
    text-align: center;
    width: 1.6rem;
}

.nav-item p {
    white-space: normal;
}

.sidebar .nav-header {
    font-weight: bold;
}

.nav-link:not(.active) .main-icon {
    color: #17a2b8;
}

.label {
    display: inline;
    padding: .2em .6em .3em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
}

.status-cancel {
    margin-left: .7rem;
    height: 1.8rem;
    margin-bottom: .2rem;
}

.select-task-status, .select-payment-status {
    height: 1.7rem;
}

.task-status, .payment-status, .editable-field {
    cursor: pointer;
}

.status-message {
    color: green;
    font-weight: bold;
    font-size: 12px;
}

.status-column:has(> select) {
    min-width: 190px;
}

@media only screen and (max-width: 768px) {
    .status-cancel {
        margin-left: .7rem;
        height: 1.8rem;
        margin-bottom: .2rem;
        float: right;
        margin-top: .5rem;
    }

    .status-column {
        min-width: 10px;
    }
}

.filter-title {
    font-weight: 700;
}

#summary-table > tbody > tr > th, #summary-table > tbody > tr > td {
    min-width: 12rem;
}

#summary-table > tbody > tr > td  {
    padding: 8px;
}

.void-element {
    min-width: 25px !important;
}

#summary-table > tbody > tr > td.main-cell {
    font-weight: bold;
}

.summary-column {
    background-color: #ffffe6;
}

.hidden{
    display: none;
    visibility: hidden;
}

.collapse-btn{
    width: 30px;
    height: 30px;
    align-items: center;
    align-self: center;
    font-size:16px;
    text-align:center;
    vertical-align:middle;
    font-weight: bold;
}

.collapse-btn-container{
    align-items: center;
    align-self: center;
    display: flex;
}
.collapse-btn-field{
    min-width: 25px !important;
}

#summary-table table td:first-child {
    position: sticky;
    left: 0;
    background-color: #ddd;
}

.summary-button {
    padding:1rem 0;
    border-bottom: 1px solid rgba(0,0,0,.125);
}

#summary-table tbody, .settlements-table tbody {
    font-size: 15px;
}

#summary-table span {
    display: inline-block;
}

.task-content, .notes-content {
    max-height:250px;
    overflow-y:auto;
    max-width: 450px;
}

.options-column {
    min-width:155px;
}

.task-options-column {
    min-width:500px;
}

.title-column {
    min-width:120px;
}

.topic-column {
    max-width:150px;
}

.task-column {
    max-width: 450px;
}

.archive-container {
    padding:1rem 0;
}

.archive-container a {
    width:auto;
}

.buttons-excel {
    margin-left: 2rem !important;
}

.modal-body {
    max-width: 100%;
    overflow-x: auto;
}

.modal-col {
    margin-left: .5rem;
    margin-right: .5rem;
    align-items: center;
}

.modal-body .mail-row {
    margin-bottom: 1rem;
}

.modal-body .row {
    width: 750px;
}

.modal-body .date-col {
    width: 190px;
}

.modal-body .email-col {
    width: 220px;
}

.modal-body .notes-col {
    width: 235px;
}

#add-mail, #add-student, #add-instructor {
    margin-left: .5rem;
}

ul.error {
    color: #dc3545;
}

.delete-row-btn, #add-mail {
    height: 38px;
}

.sidebar-width p {
    word-spacing:4px;
}

table.dataTable tr.dtrg-group.dtrg-level-0 td {
    color: white;
    background-color: #17a2b8;
}

table.dataTable tr.dtrg-group td {
    font-weight: bold;
}

table.dataTable tr.dtrg-group td:hover {
    cursor:pointer;
}

.td-align-center {
  text-align: center !important;
}

table.dataTable tr.dtrg-group.dtrg-level-1 td {
    padding-left: 0.7rem !important;
    background-color: #C4F4FC;
    font-size: 15px;
}

table.dataTable tr.dtrg-group.dtrg-level-2 td {
    padding-left: 0.7rem !important;
}

.processing-div {
    position: absolute;
    left: 50%;
    width: 200px;
    margin-left: -100px;
    margin-top: -26px;
    text-align: center;
    padding: 1em 0;
    background-color: white;
    border: 1px solid #d2d6de;
}

.group-row div{
    max-width:320px;
}

.hover-icon {
    margin-right: 10px;
    transition:  opacity 0.1s linear;
    opacity:0;
}

.group-row:hover .hover-icon {
    transition:  opacity 0.1s linear;
    opacity:1;
}

#daily-students-table a {
    color: black;
}

#daily-students-table a:hover {
    color: #007bff;
}

.student-summary-form, .policy-payment-form, .fostertravel-commission-form, .related-clients-form {
    max-width: 100%;
    overflow-x: auto;
    margin-left: 10px;
}

.settlement-rows .reserv-col {
    width: 400px;
}

.reserv-col .select2 {
    width: 400px !important;
}

.settlement-rows .notes-col {
    width: 450px;
}

.settlement-rows .collected-col, .settlement-rows .spot-col, .settlement-rows .term-col {
    width: 300px;
}


.settlement-rows .advance-col, .settlement-rows .photo-col {
    width: 150px;
}

.settlement-rows .form-col {
    margin-left: .5rem;
    margin-right: .5rem;
    align-items: center;
}

.settlement-rows .reservation-row,.settlement-rows .instructor-row {
    margin-bottom: 1rem;
}

.settlement-rows .is-invalid {
    border-color: #dc3545 !important;
}

.settlements-table > tbody > tr > th, .settlements-table > tbody > tr > td {
    min-width: 10rem;
}

.summary-table > tbody > tr > td  {
    padding: 8px;
}

.settlements-table > tbody > tr > td.main-cell {
    font-weight: bold;
}

.settlements-table .name-column {
    width: 250px;
}

.settlements-table .amount-column {
    width: 150px;
}

.new-settlement {
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.new-settlement span {
    margin-left:.3rem;
}

.settlement-content .card-header div {
    float: left;
    padding-right: 0.5rem;
}

.settlement-content .card-title {
    margin-top:0.25rem;
}

.settlement-content td a {
    color: black;
}

.settlement-content td a:hover {
    color: #007bff;
}

.select2-selection--single {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.policy-payment-form .box-primary, .fostertravel-commission-form .box-primary, .related-clients-form .box-primary {
    min-width: 800px;
}

.term-column {
    min-width: 180px;
}

.customer-file-content .d-block, .reservation-content .d-block {
    text-decoration: none;
    color: white !important;
    font-weight:600;
}

.customer-file-content .card-header div {
    float: left !important;
    padding-right: 0.5rem;
}



.customer-file-content .card-title {
    margin-top:0.25rem;
}

.customer-file-content .bg-warning {
    margin-left:1rem;
}

.toolbar-second-btn {
    margin-left:1rem;
}

@media only screen and (max-width: 768px) {
    .btn-toolbar {
        margin-top: 1rem;
    }
}

.dt-buttons {
    margin-left: 10px;
}

.hidden-col{
    display: none;
}

@media only screen and (max-width: 768px) {
    .custom-receivers, .custom-groups {
        width: 300px;
    }
}

.is-invalid .note-editor {
    border-color: #dc3545;
}

.custom-file-label::after{
    content: "Wgraj" !important;
}
.status-new {
    background-color: #007bff!important;
    color: #fff!important;
}

.status-in_progress {
    color: #1f2d3d;
    background-color: #ffc107;
}

.status-done {
    color: #fff;
    background-color: #28a745;
}

.status-undone {
    color: #fff!important;
    background-color: #dc3545!important;
}

.nav-link:hover {
    cursor: pointer;
}

.popover {
    max-width: 350px;
    width: auto;
}

.customer-file-content .folder, .reservation-content .folder, #p24 .d-block, #paynow .d-block {
    text-decoration: none;
    color: #6c757d !important;
    font-weight: 600;
}

 .reservation-content .payment {
    text-decoration: none;
    color: black !important;
    font-weight: 600;
}

.dropzone-info {
    font-size:14px;
}

#modal-upload .modal-body {
    margin-left: 1rem;
    margin-right: 1rem;
}

.d-block i {
    margin-right: .5rem;
}

.powered-by {
    color: #b0adc5;
    font-size: 13px;
    text-align: center;
    position:absolute;
    bottom: 10px;
    left: 0;
    right: 0;
}

.powered-by-form {
    color: #b0adc5;
    font-size: 13px;
    position: absolute;
    bottom: 0;
    height: 2.5rem;
}

.powered-by-form a {
    color: #6c757d;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    padding: 0 5px;
}

.role-col:hover {
    cursor: pointer;
}

.header-row {
    text-align: right;
}

.no-wrap {
    white-space: nowrap;
}

.selected-season {
    color: white;
    width: 100%;
}

.selected-season select {
    margin-left: 1rem;
    width: 40%;
    padding-left: 20px;
    font-weight: 600;
}

.payment-status-col {
    display: block;
    min-width: 0px;
}

.payment-min {
    min-width:230px;
}

.level-tooltip {
    cursor: pointer;
}

.current-season {
    margin-left: 1rem;
    width: 40%;
    padding-left: 20px;
    font-weight: 600;
}

.discount-labels {
    padding-left: 2rem;
}

.current-clients {
    padding:1rem;
    margin:1rem;
}

.current-clients span, .current-clients a {
    margin-left: 1rem;
}

.accommodation-offer-content {
    max-height:250px;
    overflow-y:auto;
    min-width:500px;
    max-width: 1000px;
    padding-top:1rem;
}

 .panel-logo {
    width: 180px;
 }
 
 .sidebar-collapse .panel-logo {
    opacity: 0;
 }
 
  .panel-logo {
    opacity: 0.9;
    transition: opacity 0.3s ease;
 }
 
 .main-sidebar:hover .panel-logo {
    opacity: 0.9;
  }
  
  .user-panel {
    padding: 0.5rem 0;
  }
  
[class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link.active:not(:last-child) {
    background-color: #aaaaaa !important;
}

.dataTables_wrapper.no-footer:has(.dt-button-collection) {
    --custom-min-height: 100vh;
}

.dataTables_wrapper.no-footer {
    min-height: var(--custom-min-height, initial);
}

.label-row {
    padding: 0.375rem 0;
    margin-bottom: 0;
    font-weight: 500;
    color: #495057;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
    padding-left: 12px;
    padding-right: 12px;
    border-radius: 4px;
}

.form-group label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

.card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.badge {
    font-size: 0.875em;
}

/* Fix navbar badge size - prevent AdminLTE override */
.navbar-badge {
    font-size: 0.6rem !important;
    font-weight: 300 !important;
    padding: 2px 4px !important;
    position: absolute !important;
    right: 5px !important;
    top: 9px !important;
}

/* Fix for table badges that might get affected */
.table .badge {
    font-size: 0.75rem;
    padding: 0.25em 0.6em;
}

/* Fix for menu badges */
.nav-sidebar .badge {
    font-size: 0.75rem;
}

h5 {
    color: #495057;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Accordion styling */
#accordion .card {
    border: 1px solid #dee2e6;
    margin-bottom: 5px;
}

#accordion .card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

#accordion .btn-link {
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    width: 100%;
    text-align: left;
}

#accordion .btn-link:hover {
    color: #007bff;
    text-decoration: none;
}

#accordion .btn-link:focus {
    box-shadow: none;
}

/* Card tools spacing */
.card-tools .btn {
    margin-left: 5px;
}
