
.btn-circle-back{
    display: block;
    height: 30px;
    width: 30px;
    padding: 3px 5px 5px 7px;
    border-radius: 50px;
    border-width: thin;
    border-style: solid;
    border-color: #6C82D1;
    color: #6C82D1;
}

.btn-circle-check{
    font-size: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20px;
    width: 20px;
    /* padding: 1px 5px 1px 5px; */
    border-radius: 50px;
    border-width: thin;
    border-style: solid;
    border-color: #6C82D1;
    color: #6C82D1;
}

.mainbox-wrapper{
  background:#F5F7FF;
  border-radius:5px;
  border-radius: 10px;
  border-width: 10px;
  border-style: solid;
  border-color: white;
}

/* Checkboxes
   ========================================================================== */
/* CUSTOM CSS CHECKBOXES */
form p {
    margin-bottom: 10px;
    text-align: left; }
  
  form p:last-child {
    margin-bottom: 0; }
  
  /* Remove default checkbox */
  [type="checkbox"]:not(:checked),
  [type="checkbox"]:checked {
    position: absolute;
    left: -9999px;
    opacity: 0; }
  
  
  
  [type="checkbox"] + label:before,
  [type="checkbox"]:not(.filled-in) + label:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
    z-index: 0;
    border: 1px solid #5a5a5a;
    border-radius: 1px;
    margin-top: 2px;
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s; }
  
  [type="checkbox"]:not(.filled-in) + label:after {
    border: 0;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0); }
  
  [type="checkbox"]:not(:checked):disabled + label:before {
    border: none;
    background-color: rgba(0, 0, 0, 0.26); }
  
  [type="checkbox"].tabbed:focus + label:after {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    border: 0;
    border-radius: 50%;
    -webkit-box-shadow: 0 0 0 10px rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: rgba(0, 0, 0, 0.1); }
  
  [type="checkbox"]:checked + label:before {
    top: -4px;
    left: -5px;
    width: 12px;
    height: 22px;
    border-top: 2px solid transparent;
    border-left: 2px solid transparent;
    border-right: 4px solid #024b78;
    border-bottom: 4px solid #024b78;
    -webkit-transform: rotate(40deg);
    -ms-transform: rotate(40deg);
    transform: rotate(40deg);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-origin: 100% 100%;
    -ms-transform-origin: 100% 100%;
    transform-origin: 100% 100%; }
  
  [type="checkbox"]:checked:disabled + label:before {
    border-right: 2px solid rgba(0, 0, 0, 0.26);
    border-bottom: 2px solid rgba(0, 0, 0, 0.26); }
  
  /* Indeterminate checkbox */
  [type="checkbox"]:indeterminate + label:before {
    top: -11px;
    left: -12px;
    width: 10px;
    height: 22px;
    border-top: none;
    border-left: none;
    border-right: 2px solid #26a69a;
    border-bottom: none;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-origin: 100% 100%;
    -ms-transform-origin: 100% 100%;
    transform-origin: 100% 100%; }
  
  [type="checkbox"]:indeterminate:disabled + label:before {
    border-right: 2px solid rgba(0, 0, 0, 0.26);
    background-color: transparent; }
  
  [type="checkbox"].filled-in + label:after {
    border-radius: 2px; }
  
  [type="checkbox"].filled-in + label:before,
  [type="checkbox"].filled-in + label:after {
    content: '';
    left: 0;
    position: absolute;
    /* .1s delay is for check animation */
    -webkit-transition: border .25s, background-color .25s, width .20s .1s, height .20s .1s, top .20s .1s, left .20s .1s;
    -o-transition: border .25s, background-color .25s, width .20s .1s, height .20s .1s, top .20s .1s, left .20s .1s;
    transition: border .25s, background-color .25s, width .20s .1s, height .20s .1s, top .20s .1s, left .20s .1s;
    z-index: 1; }
  
  [type="checkbox"].filled-in:not(:checked) + label:before {
    width: 0;
    height: 0;
    border: 3px solid transparent;
    left: 6px;
    top: 10px;
    -webkit-transform: rotateZ(37deg);
    -ms-transform: rotate(37deg);
    transform: rotateZ(37deg);
    -webkit-transform-origin: 20% 40%;
    -ms-transform-origin: 100% 100%;
    transform-origin: 100% 100%; }
  
  [type="checkbox"].filled-in:not(:checked) + label:after {
    height: 20px;
    width: 20px;
    background-color: transparent;
    border: 2px solid #5a5a5a;
    top: 0px;
    z-index: 0; }
  
  [type="checkbox"].filled-in:checked + label:before {
    top: 0;
    left: 1px;
    width: 8px;
    height: 13px;
    border-top: 2px solid transparent;
    border-left: 2px solid transparent;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    -webkit-transform: rotateZ(37deg);
    -ms-transform: rotate(37deg);
    transform: rotateZ(37deg);
    -webkit-transform-origin: 100% 100%;
    -ms-transform-origin: 100% 100%;
    transform-origin: 100% 100%; }
  
  [type="checkbox"].filled-in:checked + label:after {
    top: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #26a69a;
    background-color: #26a69a;
    z-index: 0; }
  
  [type="checkbox"].filled-in.tabbed:focus + label:after {
    border-radius: 2px;
    border-color: #5a5a5a;
    background-color: rgba(0, 0, 0, 0.1); }
  
  [type="checkbox"].filled-in.tabbed:checked:focus + label:after {
    border-radius: 2px;
    background-color: #26a69a;
    border-color: #26a69a; }
  
  [type="checkbox"].filled-in:disabled:not(:checked) + label:before {
    background-color: transparent;
    border: 2px solid transparent; }
  
  [type="checkbox"].filled-in:disabled:not(:checked) + label:after {
    border-color: transparent;
    background-color: #BDBDBD; }
  
  [type="checkbox"].filled-in:disabled:checked + label:before {
    background-color: transparent; }
  
  [type="checkbox"].filled-in:disabled:checked + label:after {
    background-color: #BDBDBD;
    border-color: #BDBDBD; }
  

    .rd-navbar-logo{
      display: block;
      width: 90px;
      position: absolute;
      left: 0;
      border-width: 5px;
      border-color: white;
      border-style: solid;
    }

    @media (max-width: 1200px) {
      .rd-navbar-logo {
        display: none;
      }
      .rd-navbar-exit{
        display: none;
      }
    }

    .rd-navbar-exit{  
      /* display: flex; */
      justify-content: center;
      align-items: center;
      width: 90px;
      height: 71px;
      position: absolute;
      right: 0;
      border-width: 5px;
      border-color: white;
      border-style: solid;
    }
    .recwrapper{
      background: #F5F7FF;
      padding: 10px;
      border-radius: 8px;
      transition: 0.5s;
    }

    .recwrapper:hover{
      -webkit-box-shadow: 0px 0px 11px 1px rgba(0,0,0,0.46); 
	    box-shadow: 0px 0px 11px 1px rgba(0,0,0,0.46);
    }

    .recorder-num{
      font-size: 14px;
      font-weight: 300;
      margin-bottom: 5px;
    }
    .recorder-product{
      font-size: 18px;
      font-weight: 500;
    }
    .recorder-body{
      font-size: 16px;
      font-weight: 300  ;
      margin-top: 0px;
    }
    .recorder-body .recdata{
      font-weight: 400;
    }

    .text-success{
      color: green;
    }

    .text-info{
      color:#0450ad;
    }

    .masterswrapp{
      display: inline-flex;
    }

    .clwrapper{
      /* display: inline-flex;
      width: 100%;
      height: 220px;
      overflow-x: scroll;
      overflow-y: hidden;
      scrollbar-width: 0;
      padding: 5px; */
      width: 100%;
      height: 230px;
      overflow-x: auto;
      overflow-y: hidden;
      scrollbar-width: 0;
      padding: 5px;
      white-space: nowrap;
      position: relative;
    }

    .clcard{
      display: block;  
      width: 180px;
      height: 180px;
      position: relative;
      border-radius: 10px;
    }
    .clcard:hover{
      box-shadow: 0px 0px 10px rgb(44, 43, 43);
    }

    .clcard .thumbnail-master-image{
      height: 100%;
      width: 100%;
      object-fit: cover;
      border-radius: 10px;
    }
    .clcard .thumbnail-master-title {
      color: black;
      text-shadow: 0px 0px 4px white;
    }
    .clcard:hover .thumbnail-master-title {
      color: darkblue;
      text-shadow: 0px 0px 5px white;
      font-weight: 700;
    }

    .clcard .thumbnail-master-caption {
      position: absolute;
      font-size: 12px;
      bottom: 0;
      width: 100%;
      color: white;
      font-weight: 600;
      text-align: left;
      padding: 5px;
      overflow: hidden;
      background: #ffffff5e;
    }


    .thumbnail-master-footer{
      position: absolute;
      bottom: -35px;
    }

    .clcard .thumbnail-master-descr{      
      color: black;      
    }




    .clblock .selected{
      border-color: #1e3aa1;
      border-width: 3px;
      border-style: solid;
    }

    .page-title{
      font-size: 32px;
      font-weight: 450;
      width: 100%;
      margin-right: 40px;
    }

    #timeswrapp .active{
      background: #BAC8F9;
      color: #1D3AA1;
    }

    .datepicker,
    .table-condensed {
       width: 100%;
       max-width: 350px;
       height: 300px;
       font-size: 20px;
    }
     #datepicker-container{
    text-align:center !important;
    }
    #datepicker-center{
    display:inline-block !important;
    margin:0 auto !important;
    }

    .info-block{
      border-radius: 12px;
      background: #E6EBFF;
    }

    .info-block-outline{
      border-radius: 12px;
      border-color: #E6EBFF;
      border-style: solid;
      border-width: 1px;
      color: #7B85A7;
    }

    .file-upload-input {
      position: absolute;
      margin: 0;
      padding: 0;
      width: 100%;
      height: 100%;
      outline: none;
      opacity: 1;
      cursor: pointer;
      content: "Upload File";
    }

    .fc-event-main-frame{
      font-size: 17px !important;
    }

    .fc-v-event .fc-event-time{
      font-weight: 500;
    }

    .fc-non-business{
          background-color: rgba(255, 0, 0, 0.1) !important;
    }

.bottom-nav{
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    /* background: #454d55; */
    border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05) !important;
    overflow: hidden !important;
    display: flex;
    justify-content: space-around;
    padding: 2px 0;
    background: white;
    /* border-top-left-radius: 20px;
    border-top-right-radius: 20px; */
    
}
.nav-item {
   display: flex;
    flex-direction: column;
    align-items: center;
    /* gap: 1px; */
    color: #333;
    text-decoration: none;
    font-size: 7px;
    /* font-weight: 600; */
    transition: all 0.3s ease;
    padding: 1px 8px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    text-transform: uppercase;
    /* letter-spacing: 0.3px; */
    width: 20%;
    height: 33px;
    /* padding: 6px; */
}
.nav-item.active{
    color: #333;
    background: #ccc;
}

.tasks-item{
    /* background: #5c6773;; */
    border-radius: 10px;
    padding: 5px 10px;
    margin-bottom: 10px;
    display: flex;
    gap: 12px;
    align-items: center;
    border-left: 4px solid #008c95;;
    justify-content: start;
}
.tasks-item.primary{
  border-left-color: #ff802f;
}
.tasks-item.info{
  border-left-color: #437bf4;
}
.tasks-item.success{
  border-left-color: #04b92b;
}
.tasks-item.warning{
  border-left-color: #c9c900;
}



.badge-primary {
    color: black;
    background-color: #ff802f;;
}

.badge-info {
    color: white;
    background-color: blue;;
}

.badge-warning {
    color: white;
    background-color: #f67644;;
}

.task-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 5px 0;
    /* border-bottom: 1px solid #f5f5f5; */
}
.task-checkbox {
    width: 22px;
    height: 22px;
    border: 2px solid #ccc;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.task-checkbox.checked {
    background: #008C95;
    border-color: #008C95;
}
.task-checkbox.checked i {
    color: #fff;
    font-size: 12px;
}
.task-text {
    font-size: 15px;
    /* color: lightgreen; */
    flex: 1;
}
.task-text.completed {
    text-decoration: line-through;
    color: #999;
}
.task-section-title {
    font-size: 14px;
    font-weight: 700;
    color: #666;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.photo-section {
    padding: 0 20px 16px;
    border-top: 1px solid #f0f0f0;
    margin-top: 8px;
}
.photo-section-title {
    font-size: 14px;
    font-weight: 700;
    color: #666;
    margin: 12px 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.photo-upload-wrapper {
    margin-bottom: 10px;
}
.photo-upload-btn {
    width: 100%;
    padding: 12px;
    background: #f5f5f5;
    border: 2px dashed #ccc;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}
.photo-upload-btn i {
    font-size: 18px;
}
.dark-mode .rd-navbar-collapse-toggle span{  
  background :#e0e0e0;  
}
.dark-mode .rd-navbar-collapse-toggle span::before{  
  background :#e0e0e0;  
}
.dark-mode .rd-navbar-collapse-toggle span::after{  
  background :#e0e0e0;  
}

.cleaning-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 12px;
    background: #fff;
    border-bottom: 1px solid #eee;
}
.tab-btn {
    flex: 1 1 calc(33.333% - 4px);
    /* min-width: calc(33.333% - 4px);
    max-width: calc(33.333% - 4px); */
    padding: 6px 2px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    font-size: 11px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-align: center;
    line-height: 1.2;
}
.tab-btn.active {
    background: #008C95;
    color: #fff;
    border-color: #008C95;
}
.tab-btn.active .count {
    background: #fff;
    color: #008C95;
}
.tab-btn .count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* background: #ff3b30; */
    color: black;
    font-size: 10px;
    font-weight: 700;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-left: 2px;
    vertical-align: middle;
}
.bottom-nav .count{
   display: inline-flex;
    align-items: center;
    justify-content: center;
    /* background: gray; */
    color: black;
    font-size: 10px;
    font-weight: 700;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-left: 2px;
    vertical-align: middle;
}



  .room-card.room-orange {
      border: 2px solid #E04E39;
      box-shadow: 0 2px 8px rgba(224, 78, 57, 0.2);
  }

  .room-card.room-green {
      border: 2px solid #008C95;
      box-shadow: 0 2px 8px rgba(0,140,149,0.2);
  }

  .room-card.room-yellow {
      border: 2px solid #FF9500;
      box-shadow: 0 2px 8px rgba(255,149,0,0.2);
  }

.room-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 10px 0;
}

.room-card.expanded {
    border-color: #008C95;
    box-shadow: 0 2px 12px rgba(0, 122, 255, 0.15);
}
.room-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.room-info {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    flex: 1;
}
.info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.info-label {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

.info-value {
    font-size: 15px;
    color: #333;
    font-weight: 600;
}

.room-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}
.status-toggle {
    position: relative;
    width: 48px;
    height: 28px;
    background: #e0e0e0;
    border-radius: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.status-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.status-toggle.on {
    background: #008C95;
}
.status-toggle.on::after {
    transform: translateX(20px);
}
.action-buttons {
    display: none;
    /* grid-template-columns: 1fr 1fr 1fr; */
    /* gap: 6px; */
    /* margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0; */
    animation: fadeIn 0.2s ease;
}
.room-card.expanded .action-buttons {
    /* display: grid; */
    display: block;
}
.btn-start, .btn-opentask {
    background: #008C95;
    color: #fff;
}
.action-btn {
    padding: 8px 4px;
    border: none;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    transition: all 0.15s ease;
    line-height: 1.2;
    height: 100%;
}
/* .action-buttons.one-button {
    grid-template-columns: 1fr;
} */

.modal-overlay.active {
    display: flex;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: flex-end;
}
.modal-content2 {
    background: #fff;
    width: 100%;
    max-width: 575px;
    border-radius: 20px 0 0 0;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
    margin-bottom: 50px;
}
.modal-header2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
}
.modal-close {
    background: #f5f5f5;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.room-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #008C95;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    margin-left: 8px;
}
.photo-upload-btn {
    width: 100%;
    padding: 12px;
    background: #f5f5f5;
    border: 2px dashed #ccc;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}
.modal-action-btn {
    flex: 1;
    padding: 5px;
    border: none;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.15s ease;
    height: 100%;
}
.modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 20px 16px;
}

.btn-complete {
    width: 100%;
    padding: 14px;
    background: #008C95;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-reject {
    background: #E04E39;
    color: #fff;
}

.modal-action-btn.btn-malfunction {
    background: #FF9500;
    color: #fff;
}

.modal-action-btn.btn-refuse {
    background: #8E8E93;
    color: #fff;
}

.modal-action-btn.btn-later {
    background: #5856D6;
    color: #fff;
}

.modal-action-btn.btn-damage {
    background: #E04E39;
    color: #fff;
}
.modal-action-btn.btn-request {
    background: #008C95;
    color: #fff;
    grid-column: span 2;
}
.modal-action-btn.btn-refuse-linen {
    background: #FFCC00;
    color: #fff;
    grid-column: span 2;
}
 @keyframes slideUp {
            from { transform: translateY(100%); }
            to { transform: translateY(0); }
 }
  .issue-textarea-wrapper {
      padding: 0 20px;
      margin-bottom: 16px;
  }
  .issue-label {
      display: block;
      font-size: 14px;
      font-weight: 700;
      color: #666;
      margin-bottom: 8px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
  }
  .issue-textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
    outline: none;
    transition: border-color 0.2s ease;
 }
 .btn-refuse-confirm {
    width: 100%;
    padding: 14px;
    background: #008C95;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}


.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.photo-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    background: #f5f5f5;
}
.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.photo-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.filter-tabs {
    display: flex;
    gap: 1px;
    /* padding: 12px 16px; */
    background: #fff;
    border-bottom: 1px solid #eee;
    overflow-x: auto;
    position: fixed;
    bottom: 0;
    width: 100%;
}
.filter-tab {
    flex: 1;
    padding: 10px 4px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
    font-size: 9px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    white-space: nowrap;
   
}
.filter-tab.active {
    background: #008C95;
    color: #fff;
    border-color: #008C95;
}

.has-error{
      border: red solid 1px;
}
.rowline{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
}

.scroll-container {
      display: flex;
      gap: 12px; /* Расстояние между элементами */
      width: 100%;
      height: 160px;
      overflow-x: auto; /* Включает горизонтальный скролл */
      overflow-y: hidden; /* Прячет вертикальный скролл, если он появится */
      white-space: nowrap; /* Запрещает перенос строк */
      padding: 4px; /* Небольшой отступ, чтобы не резались тени */
      box-sizing: border-box;
      
      /* Плавный скролл на мобильных устройствах */
      -webkit-overflow-scrolling: touch; 
    }

    /* Стилизация полосы прокрутки (необязательно, для красоты) */
    .scroll-container::-webkit-scrollbar {
      height: 6px;
    }
    .scroll-container::-webkit-scrollbar-thumb {
      background-color: #ccc;
      border-radius: 4px;
    }

    /* Карточка элемента */
    .scroll-item {
      flex: 0 0 120px; /* Запрещает сжатие и задает фиксированную ширину 120px */
      width: 120px;
      height: 150px;
      display: flex;
      flex-direction: column; /* Элементы внутри идут друг за другом вертикально */
      background-color: #f5f5f5;
      border-radius: 8px;
      overflow: hidden;
      box-sizing: border-box;
      border: 1px solid #ddd;
    }

    /* Лейбл с текстом сверху */
    .item-label {
      padding: 6px 8px;
      font-size: 10px;
      font-family: sans-serif;
      font-weight: bold;
      color: #333;
      text-align: center;
      background-color: #fff;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis; /* Троеточие, если текст слишком длинный */
    }

    .scroll-images{
      display: grid; /* Включаем режим сетки */
      grid-template-columns: repeat(auto-fill, minmax(50px, 1fr)); /* Колонки от 200px, заполняют всю ширину */
      gap: 1px; 
      overflow-y: auto;
    }

    /* Картинка снизу */
    .item-image {
      flex-grow: 1; /* Занимает все оставшееся пространство снизу */
      width: 100%;
      height: 70%;
      object-fit: cover; /* Картинка пропорционально заполняет область */
    }