/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
    font-family: 'Poppins', sans-serif;
}

/* ----------------------------
   LOGIN PAGE STYLES
---------------------------- */

/* Login page background and layout */
.login-page {
    background: url("../images/login/background.34b82e50cf13.webp") no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Container for the login form */
.login__container {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 2em;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 400px;
    text-align: center;
}

/* Login page heading */
.login__heading {
    color: white;
    margin-bottom: 1em;
}

/* Form styling */
.login__form {
    display: flex;
    flex-direction: column;
    gap: 1em;
    align-items: center;
    width: 100%;
}

/* Input group for form fields */
.login__input-group {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

/* Icon styling inside input groups */
.login__icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    color: white;
}

/* Input field styling */
.login__input {
    width: 100%;
    padding: 12px 45px;
    font-size: 1em;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    outline: none;
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transition: all 0.3s;
}

/* Placeholder color */
.login__input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Focus state */
.login__input:focus {
    border: 1px solid white;
    background: rgba(255, 255, 255, 0.4);
    outline: none;
}

/* Container for Remember Me and Forgot Password */
.login__remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9em;
    width: 100%;
    color: white;
}

/* Remember checkbox styling */
.login__remember {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

/* Forgot password link styling */
.login__forgot {
    color: #ffffff;
    text-decoration: none;
}

.login__forgot:hover {
    text-decoration: underline;
}

/* Login button styling */
.login__button {
    width: 100%;
    padding: 12px;
    font-size: 1em;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

/* Hover effect */
.login__button:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.03);
}

/* =========================
   HEADER & NAVBAR
========================= */
.header__container {
    background-color: #343a40;
    padding: 0.3rem 0;
    border-bottom: 2px solid #23272b;
    width: 100%;
}

.header__inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__brand-logo {
    width: 80px;
    height: 80px;
    background: url("../images/header/logo.7bead1707541.png") no-repeat center;
    background-size: contain;
}

.header__brand-link {
    display: block;
}

.header__nav {
    flex-grow: 1;
    text-align: center;
}

.header__nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.header__nav-item {
    margin: 0 0.2rem;
}

.header__nav-link {
    color: #ffffff;
    font-size: 1rem;
    padding: 0.5rem 0.8rem;
    text-decoration: none;
    transition: background-color 0.3s;
}

.header__nav-link:hover {
    background-color: #495057;
}

.header__nav-link--active {
    color: #fff;
    background-color: #d32f2f;
    border-radius: 0.25rem;
    padding: 0.5rem 0.8rem;
    font-weight: bold;
}

.header__nav-item--separator .header__nav-link {
    pointer-events: none;
    padding: 0.5rem 0.5rem;
    color: #ffffff;
}

.header__login {
    display: flex;
    align-items: center;
    margin-right: 1.0rem;
}

.header__login-link {
    display: flex;
    align-items: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
}

.header__login-link i {
    font-size: 1.75rem;
    margin-right: 0.5rem;
}

/* =========================
   MOBILE ADJUSTMENTS FOR BASE TEMPLATE
========================= */

/* Mobile adjustments */
@media (max-width: 768px) {
  /* Hide user dropdown on mobile - use sidebar instead */
  .header__dropdown {
    display: none;
  }

  /* Show just the user icon on mobile */
  .header__login {
    display: flex;
    align-items: center;
  }

  .header__login-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
  }

  /* Move hamburger menu to the right */
  .header__hamburger {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
  }

  /* Adjust header inner layout for mobile */
  .header__inner {
    position: relative;
  }

  /* Hide printer status icon on mobile */
  .header__printer-item {
    display: none;
  }

  /* Hide username on very small screens */
  @media (max-width: 480px) {
    .header__user-name {
      display: none;
    }
  }
}

/* =========================
   RESPONSIVE HEADER STYLES
========================= */

/* Hamburger menu button (hidden by default) */
.header__hamburger {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: 1rem;
}

/* Mobile menu overlay */
.header__mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

/* Responsive adjustments for iPad and smaller screens */
@media screen and (max-width: 1200px) {
    /* Show hamburger button */
    .header__hamburger {
        display: block;
    }

    /* Adjust header inner layout */
    .header__inner {
        position: relative;
    }

    /* Logo adjustments */
    .header__brand-logo {
        width: 60px;
        height: 60px;
    }

    /* Hide navigation by default on mobile */
    .header__nav {
        display: none;
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: #343a40;
        z-index: 999;
        transition: right 0.3s ease-in-out;
        overflow-y: auto;
        padding-top: 60px;
    }

    /* Show navigation when active */
    .header__nav.active {
        display: block;
        right: 0;
    }

    /* Show overlay when menu is active */
    .header__mobile-overlay.active {
        display: block;
    }

    /* Navigation list vertical layout */
    .header__nav-list {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }

    .header__nav-item {
        width: 100%;
        margin: 0.25rem 0;
    }

    .header__nav-link {
        display: block;
        width: 100%;
        padding: 0.75rem 1rem;
        border-radius: 0.25rem;
    }

    /* Separators as horizontal lines on mobile */
    .header__nav-item--separator {
        width: 100%;
        margin: 0.5rem 0;
        border-bottom: 1px solid #495057;
    }

    .header__nav-item--separator .header__nav-link {
        display: none;
    }

    /* Close button for mobile menu */
    .header__nav::before {
        content: '×';
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 2rem;
        color: #ffffff;
        cursor: pointer;
    }

    /* Icons section styling */
    .header__nav-item a[data-bs-toggle="modal"],
    .header__nav-item a#download-operations-btn,
    .header__nav-item a[href*="dashboard"] {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        text-align: center;
    }

    /* Add text labels to icons on mobile */
    .header__nav-item a[data-bs-toggle="modal"]::after {
        content: 'Explorar caja';
    }

    .header__nav-item a[href*="dashboard"]::after {
        content: 'Indicadores';
    }

    .header__nav-item a#download-operations-btn::after {
        content: 'Descargar consolidado';
    }

    /* Printer status in mobile menu */
    .header__printer-item {
        width: 100%;
        padding: 0.75rem 1rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .header__printer-item #printer-status-icon {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header__printer-item #printer-status-icon::after {
        content: ' Estado de impresora';
        font-size: 1rem;
        font-family: 'Poppins', sans-serif;
        margin-left: 0.5rem;
    }
}

/* Even smaller screens (phones) */
@media screen and (max-width: 768px) {
    .header__inner {
        padding: 0 10px;
    }

    .header__brand-logo {
        width: 50px;
        height: 50px;
    }

    .header__nav {
        width: 280px;
        right: -280px;
    }

    .header__user-name {
        display: none;
    }

    .header__login-link i {
        font-size: 1.5rem;
        margin-right: 0;
    }

    /* Shorter text for mobile */
    .header__nav-item a[data-bs-toggle="modal"]::after {
        content: 'Peso caja';
    }

    .header__nav-item a#download-operations-btn::after {
        content: 'Excel';
    }
}

/* Tablets in landscape mode */
@media screen and (min-width: 768px) and (max-width: 1200px) and (orientation: landscape) {
    /* You could also try a condensed horizontal menu for landscape tablets */
    .header__nav-link {
        font-size: 0.9rem;
        padding: 0.4rem 0.6rem;
    }

    .header__nav-item {
        margin: 0 0.1rem;
    }
}

/* =========================
   PRINTER SELECTION
========================= */

#printer-status-icon {
    font-size: 1.2em;
    margin-left: 8px;
}

#printer-status-icon.connected {
    color: #28a745; /* green */
    /* no blink when connected */
}

#printer-status-icon.disconnected {
    color: #dc3545; /* red */
    animation: blink 1s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* =========================
   ICON BUTTONS (BOX, GRAPH & EXCEL)
========================= */

/* Remove hover background on icon links */
.header__nav-item a[data-bs-toggle="modal"],
.header__nav-item a#download-operations-btn,
.header__nav-item a[href*="dashboard"] {
    background-color: transparent !important;
}

.header__nav-item a[data-bs-toggle="modal"]:hover,
.header__nav-item a#download-operations-btn:hover,
.header__nav-item a[href*="dashboard"]:hover {
    background-color: transparent !important;
}

/* Box icon styling */
.header__nav-link .bi-box-seam {
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.header__nav-link:hover .bi-box-seam {
    color: #b71c1c;
    animation: pulse 0.5s ease-in-out;
}

/* Graph icon styling (indicadores) */
.header__nav-link .bi-graph-up {
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.header__nav-link:hover .bi-graph-up {
    color: #1976d2; /* Blue color for analytics */
    animation: pulse 0.5s ease-in-out;
}

/* Active state for graph icon */
.header__nav-link--active .bi-graph-up {
    color: #ffffff;
}

/* Excel icon styling */
.header__nav-link .bi-file-earmark-excel {
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.header__nav-link:hover .bi-file-earmark-excel {
    color: #28a745; /* Excel green */
    animation: pulse 0.5s ease-in-out;
}

/* Success state for Excel icon */
.header__nav-link .bi-check-circle {
    color: #28a745;
    font-size: 1.25rem;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Keep spacing consistent for all icon types */
.header__nav-item .bi-box-seam,
.header__nav-item .bi-graph-up,
.header__nav-item .bi-file-earmark-excel {
    margin: 0;
}

/* Printer icon needs padding since it's not wrapped in .header__nav-link */
.header__printer-item #printer-status-icon {
    padding: 0.5rem 0.8rem;
    margin-left: 0;
    font-size: 1.3rem;
    cursor: pointer;
}

/* =========================
       CARTS PANEL COMPONENT
    ========================= */

.carts-panel {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1051;
    display: none;
    width: 300px;
    max-height: 400px;
    padding: 10px;
    box-sizing: border-box;
}

.carts-panel__header {
    text-align: center;
    margin-bottom: 8px;
}

.carts-panel__header #carts-title {
    display: block;
    font-weight: bold;
    font-size: 0.9rem;
}

.carts-panel__body {
    max-height: 280px;
    overflow-y: auto;
    margin-bottom: 8px;
}

.carts-panel__body .table {
    margin-bottom: 0;
}

.carts-panel__footer {
    text-align: center;
    cursor: pointer;
    font-weight: bold;
    color: #d32f2f;
    font-size: 0.9rem;
}

/* =========================
       FLOATING CALENDAR COMPONENT
    ========================= */

.floating-calendar {
    position: fixed;
    bottom: 20px;
    left: 20px; /* Default for warehouse users */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #d32f2f;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1050;
    transition: background-color 0.3s;
}

.floating-calendar:hover {
    background-color: #b71c1c;
}

.floating-calendar__icon {
    font-size: 1rem;
}

.floating-calendar__time {
    font-size: 0.7rem;
    margin-top: 1px;
}

.calendar-right {
    left: auto;
    right: 20px;
}

/* =========================
       CALENDAR PANEL COMPONENT
    ========================= */

.calendar-panel {
    position: fixed;
    bottom: 90px;
    left: 20px; /* Default for warehouse users */
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1050;
    display: none;
    width: 400px; /* Increased width */
    height: 320px;
    padding: 10px;
    box-sizing: border-box;
}

/* New class to reposition the calendar panel on the right for non-warehouse users */
.calendar-panel-right {
    left: auto;
    right: 20px;
}

/* Calendar panel header and table styling */
.calendar-panel__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-weight: bold;
}

.calendar-panel__body {
    height: calc(100% - 60px);
    overflow: hidden;
}

.calendar-panel__table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.calendar-panel__table th,
.calendar-panel__table td {
    text-align: center;
    padding: 5px;
}

.calendar-panel__table th {
    font-weight: bold;
    color: #555;
}

/* Styling for the week number column */
.calendar-panel__table th.week-number,
.calendar-panel__table td.week-number {
    width: 50px;
    text-align: center;
    background-color: #f9f9f9;
    color: #999;
    font-weight: normal;
    border-right: 1px solid #dee2e6;
}

.calendar-panel__table td {
    cursor: pointer;
}

.current-day-circle {
    background-color: #d32f2f;
    color: #fff;
    border-radius: 50%;
    width: 2em;
    height: 2em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.calendar-panel__footer {
    text-align: center;
    margin-top: 5px;
    cursor: pointer;
    color: #d32f2f;
    font-weight: bold;
}

/* =========================
       FLOATING CART COMPONENT
    ========================= */

.floating-cart {
    position: fixed;
    bottom: 20px;
    right: 20px; /* Positioned at bottom right for warehouse users */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #d32f2f;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1050;
    transition: background-color 0.3s;
}

.floating-cart:hover {
    background-color: #b71c1c;
}

.floating-cart__icon {
    font-size: 1rem;
}

.floating-cart__count {
    font-size: 0.7rem;
    margin-top: 1px;
}

/* =========================
   PURCHASE ORDER STYLES
========================= */
.main-horizontal-section {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
    padding: 1rem;
}

.main-horizontal-section__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3c5917;
    color: #343a40;
}

.select2-selection__rendered {
    text-align: left;
}

.quantity-input {
    width: auto; /* or some fixed width like 80px */
}

/* =========================
   DISPATCH ORDER STYLES
========================= */

.stock-info {
    font-weight: 500;
    font-size: 0.9rem;
}

.stock-info .text-success {
    color: #28a745 !important;
}

.stock-info .text-warning {
    color: #ffc107 !important;
}

.stock-info .text-danger {
    color: #dc3545 !important;
}

/* =========================
   COMMON TABLE CONTAINER STYLES
========================= */

.table {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 0.75rem;
    vertical-align: middle;
    border: 1px solid #dee2e6;
    text-align: center;
}

.table-no-vertical th,
.table-no-vertical td {
    border-left: none;
    border-right: none;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}

.table-container {
    overflow-x: auto;
    margin-bottom: 1rem;
    position: relative;
}

.table-container--extra-small {
    max-height: 200px;
    overflow-y: auto;
    position: relative;
    display: block;
}

.table-container--small {
    max-height: 280px;
    overflow-y: auto;
    position: relative;
    display: block;
}

.table-container--medium {
    max-height: 350px;
    overflow-y: auto;
    position: relative;
    display: block;
}

.table-container .table thead th {
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 10;
}

.table-container.extra-line thead th::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #fff;
    z-index: 11;
}

.scrollable-table table {
    font-size: 1rem;
}

.cell-fixed-width--extra-small {
    min-width: 100px;
    max-width: 120px;
    white-space: nowrap;
}

.cell-fixed-width--small {
    min-width: 120px;
    max-width: 200px;
    white-space: nowrap;
}

.cell-fixed-width--medium {
    min-width: 180px;
    max-width: 200px;
    white-space: nowrap;
}

.cell-fixed-width--medium-wrap {
    min-width: 180px;
    max-width: 200px;
}

.cell-fixed-width--large {
    min-width: 230px;
    max-width: 260px;
    white-space: nowrap;
}

.quantity-inputs {
    white-space: nowrap;
}

.unit-toggle-buttons {
    white-space: nowrap;
}

/* =========================
   INVENTORY PAGE STYLES
========================= */
.filters__summary {
    background-color: #f8f9fa; /* Light grey background */
    border-radius: 0.25rem; /* Rounded corners */
    border: 1px solid #dee2e6; /* Optional: Add a border */
}

.inventory__filter-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    margin-right: 0.5rem;
    font-size: 0.85rem;
}

.inventory__pending {
    font-size: 0.85rem; /* Smaller font size */
    color: #d9534f; /* Red color (Bootstrap danger tone) */
}

.inventory__pending--hidden {
    display: none;
}

/* Existing colors */
.inventory__filter-badge--cow {
    background-color: #d32f2f;
    color: #fff;
}

.inventory__filter-badge--chicken {
    background-color: #ffc107;
    color: #343a40;
}

.inventory__filter-badge--pig {
    background-color: pink;
    color: #343a40;
}

.inventory__filter-badge--turkey {
    background-color: #403434;
    color: #fff;
}

/* Optional additional classes */
.inventory__filter-badge--search {
    background-color: #99c3ca;
    color: #343a40;
}

.inventory__filter-badge--sort {
    background-color: #99c3ca;
    color: #343a40;
}

.inventory__filter-badge--warehouse {
    background-color: #99c3ca;
    color: #343a40;
}

/* Existing inventory search input style */
.inventory__input-group input.inventory__search {
    border: 1px solid #ced4da;
    height: calc(1.5em + .75rem + 2px);
    color: #000; /* Set text color to black */
    padding: 15px;
}

/* Ensure the row fits the container */
.inventory__input-row {
    width: 100%;
    max-width: 100%;
}

/* Force collapsed rows to be hidden from layout */
.inventory__table-row.collapse {
    display: none; /* completely remove row */
}

.inventory__table-row.collapse.show {
    display: table-row; /* restore as table row when expanded */
}

/* Example: ensure no extra spacing from border collapse */
.inventory__table {
    border-collapse: collapse;
}

/* Container for overlapping icons */
.inventory__toggle-icon-container {
    position: relative;
    display: inline-block;
    width: 1.5rem; /* Adjust width as needed */
    height: 1.5rem; /* Adjust height as needed */
}

/* Base styles for both icons */
.inventory__toggle-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 1.5rem; /* Larger icon */
    color: red; /* Red icon */
}

/* When the row is collapsed, show plus, hide dash */
.inventory__table-row.clickable.collapsed .inventory__toggle-icon--plus {
    opacity: 1;
}

.inventory__table-row.clickable.collapsed .inventory__toggle-icon--dash {
    opacity: 0;
}

/* When the row is expanded, show dash, hide plus */
.inventory__table-row.clickable.expanded .inventory__toggle-icon--plus {
    opacity: 0;
}

.inventory__table-row.clickable.expanded .inventory__toggle-icon--dash {
    opacity: 1;
}

/* =========================
   MISC & UTILITY CLASSES
========================= */
.error-border {
    border: 1px solid red;
}

.hidden {
    display: none;
}

.bi-plus {
    color: red;
    font-weight: bold;
}

/* Generic section title */
.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.05rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3c5917;
    color: #343a40;
}

/* =========================
   RESPONSIVE ADJUSTMENTS
========================= */
@media (max-width: 768px) {
    .header__brand-logo {
        height: 60px;
    }

    .header__nav-link {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .header__login-link i {
        font-size: 1.5rem;
    }
}

/* For medium devices (tablets, iPads) */
@media (min-width: 768px) {
    .container {
        max-width: 1300px !important; /* Slightly wider than 720px */
    }
}

/* For large devices (notebooks) */
@media (min-width: 992px) {
    .container {
        max-width: 1300px !important;; /* Slightly wider than 960px */
    }
}

/* For extra large devices (desktops) */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px !important; /* Slightly wider than 1140px */
    }
}

/* For extra extra large devices (27-inch screens) */
@media (min-width: 1600px) {
    .container {
        max-width: 1800px !important;; /* Slightly wider than 1320px */
    }

    .header__inner {
        max-width: 1700px !important; /* Slightly wider than 1140px */
    }
}

/* =========================
   LIST PURCHASE ORDERS
========================= */
.orders__section--today {
    margin-top: 20px;
}

.orders__table thead tr:first-child th.orders__section-title {
    background-color: #fff;
    border: none;
    border-bottom: 2px solid #3c3c3c;
}

.orders .orders__date-filter-select {
    max-width: 125px;
}

.orders .orders__filters {
    padding-left: 0;
    padding-right: 0;
}

.orders .orders__filters__row {
    padding-top: 1rem;
}

/* TODO remove !important usage */
.frozen-toggle-btn:not(.active) {
    border-color: rgba(91, 192, 222, 0.75) !important;
    color: #5bc0de !important
}

.frozen-toggle-btn:not(.active):hover {
    background-color: rgba(91, 192, 222, 0.75) !important;
    color: white !important;
    border-color: rgba(91, 192, 222, 0.75) !important;
}

/* Active (frozen) state */
.frozen-toggle-btn.active {
    background-color: rgba(91, 192, 222, 0.75) !important;
    color: white !important;
    border-color: rgba(91, 192, 222, 0.75) !important;
}

/* =========================
   CREATE BOX ENTRY
========================= */

.four-fields-row .main-horizontal-section__field {
    flex: 0 0 25%; /* Force each field to take up 25% width */
    max-width: 25%;
}