/* common.css - Shared styles between all pages */
body, html {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    height: 100vh; /* Make sure it takes the full viewport height */
    color: #ffffff; /* Default text color for the dark theme */
}

#topBanner, #sideBanner {
    background-color: #3c4252;
    text-align: center;
}

#mainView {
    background-color: #363b49;
    min-height: calc(100vh - 4rem);
    flex-grow: 1;
    padding: 1rem;
    position: relative;
    overflow-x: hidden;
    margin-top: 4rem;  /* Reduced from 5rem to 4rem */
}

#topBanner {
    color: #f4f4f5;
    padding: 0 1rem;
    background-color: #3c4252;
    text-align: center;
    position: fixed;  /* Changed from relative to fixed */
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;  /* Reduced from 5rem to 4rem */
    flex-wrap: nowrap;
    overflow: hidden;
    width: 100%;  /* Make sure it spans the full width */
    top: 0;  /* Position at the top of the viewport */
    left: 0;  /* Align to the left edge */
    z-index: 1000;  /* Ensure it stays above other content */
    border-bottom: 2px solid #00000045;
    box-sizing: border-box;
}

.title-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    overflow: hidden;
}

#topBannerTitle {
    font-size: clamp(1.5rem, 4vw, 3rem); 
    font-weight: bold; 
    color: #c3d600; 
    text-shadow: -2px 15px 5px #0000001e;
    margin: 0;
    padding: 0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

#titleText {
    color: #f0f0f0;
    margin: 0 0 1rem 2rem;  /* Reduced from 5rem 0rem 2rem 4rem */
    text-shadow: -4px 4px 3px #00000028;
}

.border-text {
    color: #bcd443;
    text-shadow: 6px 7px 0px #0000002c, 2px 2px 2px #0000003d, -2px -2px 2px #0000003d, 2px -2px 2px #0000003d, -2px 2px 2px #0000003d;
}

/* Main content wrapper for responsive layout */
.main-content-wrapper {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.title-section {
    margin-bottom: 0.5rem;  /* Reduced from 1rem */
}

.title-section .d-flex {
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.page-title {
    color: #f0f0f0;
    margin: 0 0 0.5rem 1rem;  /* Reduced margins */
    text-shadow: -4px 4px 3px #00000028;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

/* New layout structure */
.search-pagination-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 0 0.5rem;
    margin-bottom: 0.75rem;
}

.search-container {
    flex: 1;
    margin: 0;
}

.filters-section {
    width: 100%;
    padding: 0 0.5rem;
    margin-bottom: 0.75rem;
}

.controls-section {
    width: 100%;
    padding: 0 0.5rem;
    margin-bottom: 0.75rem;
}

.controls-container {
    margin: 0;
    width: fit-content;
    margin-left: auto;
}

.controls-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0;
    border-bottom: none;
    margin-bottom: 0;
    flex-wrap: wrap;
    gap: 0.75rem;  /* Reduced from 1rem */
}

.table-size-controls {
    display: flex;
    align-items: center;
    justify-content: right;
    gap: 1rem;
    margin-right: 5rem;
    flex-wrap: wrap;
    max-width: 100%;
}

.control-label {
    color: #bcd443;
    font-weight: 500;
    font-size: 1rem;
}

.size-buttons {
    display: flex;
    gap: 0.5rem;
}

.size-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #3c4252;
    background-color: #363b49;
    color: #ffffff;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.size-btn:hover {
    background-color: #4a4f64;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.size-btn.active {
    background-color: #bcd443;
    color: #363b49;
    border-color: #bcd443;
    box-shadow: 0 4px 8px rgba(188, 212, 67, 0.2);
}

.size-btn.disabled {
    background-color: #d44343;
    color: #363b49;
    border-color: #bcd443;
    box-shadow: 0 4px 8px rgba(188, 212, 67, 0.2);
}

.action-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

/* Active Filters Display */
.active-filters,
.active-filters-main {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.action-btn {
    min-width: 45px;
    height: 45px;
    border: none;
    border-radius: 8px;
    background-color: #363b49;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0.5rem;
    white-space: nowrap;
    gap: 0.5rem;
}

.action-btn .btn-text {
    display: inline;
    font-size: 0.875rem;
    font-weight: 500;
}

.action-btn i {
    font-size: 1.2rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-btn:hover {
    background-color: #4a4f64;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.action-btn.danger {
    background-color: #dc3545;
}

.action-btn.danger:hover {
    background-color: #c82333;
}

.pagination-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    max-width: 100%;
    padding: 0.5rem;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #3c4252;
    background-color: #363b49;
    color: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-btn i {
    font-size: 1.2rem;
}

.pagination-btn:hover:not(:disabled) {
    background-color: #4a4f64;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.page-info {
    background-color: #363b49;
    border-radius: 8px;
    border: 1px solid #3c4252;
    color: #ffffff;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

#pageDisplay {
    color: #ffffff;
    font-weight: 500;
    font-size: 1rem;
}

.table > thead > tr > th {
    background-color: #2d2a29;
    color: #bcd443;
    border-bottom: 1px solid #bcd443;
    font-weight: normal;
    padding: 0.75rem;
    text-align: left;
}

#tableBody tr td {
    background-color: #3c3b39;
    color: #ffffff;
}

.searchSection {
    margin: 0;
    width: 100%;
    padding: 0 1rem;
}

.searchBar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.searchBar input {
    flex: 1;
    height: 45px;
    background-color: #363b49;
    border: 1px solid #3c4252;
    color: #ffffff;
    border-radius: 8px;
    padding: 0 1rem;
    font-size: 1rem;
    transition: all 0.2s ease;
    width: 100%;
}

.search-buttons {
    display: flex;
    gap: 0.75rem;
    height: 45px;
}

.search-buttons button {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

#searchButton {
    background-color: #bcd443;
    color: #363b49;
}

#filterBtn {
    background-color: #363b49;
    color: #ffffff;
    border: 1px solid #3c4252;
}

#searchButton:hover, #filterBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#searchButton:hover {
    background-color: #d4eb4c;
}

#filterBtn:hover {
    background-color: #4a4f64;
}

.column-pill {
    background-color: #bcd443;
    color: #363b49;
    padding: 0.25rem 0.75rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.filter-pill {
    background-color: #bcd443;
    color: #000000;
    padding: 4px 8px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.pill-remove {
    border: none;
    background: none;
    padding: 0 4px;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    transition: all 0.2s ease;
    margin-left: 4px;
    font-weight: bold;
}

.pill-remove:hover {
    background-color: rgba(0, 0, 0, 0.1);
    color: #333;
}

.pill-remove:active {
    background-color: rgba(0, 0, 0, 0.2);
}

/* Modal Content */
.modal-content {
    background-color: #363b49;
    border: none;
    color: #ffffff;
}

.modal-header {
    background-color: #363b49;
    border-bottom: 1px solid #4d4a49;
}

.modal-title {
    color: #bcd443;
}

.modal-body {
    color: #fefffe;
    background-color: #363b49;
}

.modal-footer {
    background-color: #363b49;
    border-top: 1px solid #4d4a49;
}

.btn-close {
    filter: brightness(0) invert(1);
}

/* Logo Animation */
@keyframes logoSpin {
    0% {
        transform: perspective(1000px) rotateX(0deg) scale(1);
    }
    50% {
        transform: perspective(1000px) rotateX(180deg) scale(1.5);
    }
    100% {
        transform: perspective(1000px) rotateX(360deg) scale(1);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.spin {
    animation: spin 1s linear infinite;
}

/* Logo container styling */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 0.5rem;
    cursor: pointer;
    width: clamp(80px, 12vw, 165px);
    min-width: 80px;
    flex-shrink: 0;
    background-color: #3c4252;
    text-align: center;
    border-right: 1px solid rgba(188, 212, 67, 0.1);
    position: relative;
    z-index: 999;
}

.logo-container:hover {
    opacity: 0.9;
}

.logo-container:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: #bcd443;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

.logo-container img {
    transform-style: preserve-3d;
    backface-visibility: visible;
    height: 3rem;
    width: auto;
    margin: 0;
    padding: 0;
    transition: transform 0.3s ease;
}

.logo-container.spinning img {
    animation: logoSpin 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

#sideBanner {
    width: 165px;
    min-width: 165px;
    max-width: 165px;
    flex-shrink: 0;
    color: #ffffff;
    font-weight: bolder;
    font-size: 0.8rem;
    padding-bottom: 100px;
    margin: 0;
    border-right: 1px solid rgba(188, 212, 67, 0.1);
}

/* Standardized sidebar option styles */
.sideBannerLink {
    text-decoration: none;
    color: inherit;
    display: block;
}

#sideBannerOption {
    cursor: pointer;
    padding: 0.5rem 1rem 0.25rem 0.7rem;
    margin-bottom: 0;
    background-color: #3c4252;
    text-align: center;
    transition: background-color 0.2s ease;
}

#sideBannerOption:hover {
    background-color: #4a4f64;
}

#sideBannerOption:active {
    background-color: #333845;
}

#sideBannerOption:hover #mIcon {
    color: #bcd443;
}

#mIcon {
    font-size: 3rem;
    color: #f4f4f5;
    transition: color 0.2s ease;
}

#sIcon {
    font-size: 2rem;
    background-color: transparent;
    color: #ffffff;
}

/* Sidebar divider */
#sideBanner > div[style*="height: 1px"] {
    background-color: #bcd44334 !important;
    margin: 1rem 0 !important;
    height: 1px !important;
}

tbody tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.05);
}

tbody tr:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.02);
}

tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.container-flex {
    display: flex;
    flex-grow: 1; /* This makes it expand to fill the remaining space */
}

/* Card styling for dark theme */
.card {
    background-color: #3c4252;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dataSet {
    background-color: #2c2a28;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    width: 100%;
    overflow-x: auto;
    padding-top: 0.5rem;  /* Reduced from 0.8rem */
    padding-bottom: 0.5rem;  /* Reduced from 0.8rem */
}

.table-container {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    background-color: #2c2a28;
    border-radius: 8px;
    margin: 0;
    padding: 0.75rem;  /* Reduced from 1rem */
}

.table-wrapper {
    border-radius: 10px;
    padding: 0.5rem;  /* Reduced from 10px */
    width: 100%;
    overflow-x: auto;
}

.table {
    margin-bottom: 0rem;
    width: 100%;
    min-width: 100%;
}

.table-wrapper:has(#tableBody tr) {
    border-color: #bcd44365; /* Greenish border when table has rows */
}

.table-wrapper {
    border: 2px solid #656d33; /* Default red border when empty */
}

table {
    border-collapse: collapse;
    background-color: #2d2d2d;
    color: #ffffff;
    table-layout: fixed;
    margin-bottom: 0rem;
}

/* Table Header */
thead {
    background-color: #3c4252;
    position: sticky;
    top: 0;
    z-index: 2;
}

thead th {
    color: #ffffff;
    font-weight: 600;
    padding: 8px 12px;  /* Reduced from 12px 15px */
    text-align: left;
    user-select: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

thead th.sortable:hover {
    background-color: #4a4f64;
}

thead th.sorting-asc::after {
    content: ' ↑';
    color: #bcd443;
}

thead th.sorting-desc::after {
    content: ' ↓';
    color: #bcd443;
}

/* Table Body */
tbody {
    background-color: #2d2d2d;
}

tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background-color: #3c4252;
}

tbody tr:nth-child(even) {
    background-color: #363b49;
}

tbody tr:nth-child(odd) {
    background-color: #3c4252;
}

tbody tr:hover {
    background-color: #4a4f64;
}

tbody tr:last-child {
    border-bottom: none;
}

tbody td {
    padding: 8px 12px;  /* Reduced from 12px 15px */
    color: #ffffff;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

tbody th {
    padding: 8px 12px;  /* Reduced from 12px 15px */
    color: #ffffff;
    font-weight: 600;
    text-align: left;
    background-color: #3c4252;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

/* Table Footer */
tfoot td {
    color: #ffffff;
    padding: 12px 15px;
    font-weight: 600;
}

td {
    background-color: transparent;
}

/* Responsive Table */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0;
    padding: 0;
}

/* Popup Table */
#popupTable {
    width: auto;
    margin: 0;
    background-color: transparent;
}

#popupTable td {
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#popupTable td:first-child {
    font-weight: 600;
    color: #bcd443;
    min-width: 120px;
}

/* Table Scrollbar */
.tableWrapper::-webkit-scrollbar {
    width: 8px;
}

.tableWrapper::-webkit-scrollbar-track {
    background: #2d2d2d;
}

.tableWrapper::-webkit-scrollbar-thumb {
    background: #3c4252;
    border-radius: 4px;
}

.tableWrapper::-webkit-scrollbar-thumb:hover {
    background: #4a4f64;
}

.form-control {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: #3c4252;
    color: #ffffff;
}

.form-control:focus {
    background-color: #3c4252;
    color: #ffffff;
}

/* SKU List Styles */
.sku-list {
    margin-top: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 1rem;
    display: block;
    background-color: #161616
}

.sku-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.75rem;
    background-color: #3c4252;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.sku-item:last-child {
    margin-bottom: 0;
}

.sku-info {
    flex-grow: 1;
}

.sku-field {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.sku-field:last-child {
    margin-bottom: 0;
}

/* Input placeholder color */
::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Search bar styling */
#searchBar {
    background-color: #3c4252;
    color: #ffffff;
    border: 1px solid rgba(188, 212, 67, 0.2);
    height: 45px;
    font-size: 1rem;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    box-shadow: 0 2px 8px rgba(188, 212, 67, 0.1);
    transition: all 0.3s ease;
}

#searchBar:focus {
    border-color: #bcd443;
    box-shadow: 0 0 0 2px rgba(188, 212, 67, 0.2);
    background-color: #3c4252;
    color: #ffffff;
    outline: none;
}

#searchBar::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#searchBar {
    padding: 0.7rem 1rem 0.4rem 1rem;
    width: 100%; 
    font-size: 1.25rem; 
    border-color: #fefffe
}

#searchButton, #filterBtn, #spreadsheetBtn, #trashBtn {
    background-color: #bcd443;
    border: none;
    border-radius: 12px;
    padding: 8px 16px;
    height: 45px;
    width: 45px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    box-shadow: 0 4px 12px rgba(188, 212, 67, 0.2);
    position: relative;
    overflow: hidden;
}

#searchButton:hover, #filterBtn:hover, #spreadsheetBtn:hover, #trashBtn:hover {
    background-color: #d4eb4c;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(188, 212, 67, 0.3);
}

#searchButton:active, #filterBtn:active, #spreadsheetBtn:active, #trashBtn:active {
    background-color: #a8c03a;
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(188, 212, 67, 0.2);
}

#searchButton i, #filterBtn i, #spreadsheetBtn i, #trashBtn i {
    color: #363b49;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

#searchButton:hover i, #filterBtn:hover i, #spreadsheetBtn:hover i, #trashBtn:hover i {
    transform: scale(1.1) rotate(5deg);
}

/* Button styling */
.jrbutton1 {
    background-color: #bcd443;
    box-shadow: 0 4px 12px rgba(188, 212, 67, 0.2);
    color: #363b49;
    border: none;
    font-weight: bold;
    width: 15rem;
    margin: 1rem;
    border-radius: 12px;
    padding: 12px 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.jrbutton1:hover {
    background-color: #d4eb4c;
    color: #363b49;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(188, 212, 67, 0.3);
}

.jrbutton1:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(188, 212, 67, 0.2);
}

/* Add a subtle gradient effect on hover */
#searchButton::after, #filterBtn::after, #spreadsheetBtn::after, #trashBtn::after,
.jrbutton1::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

#searchButton:hover::after, #filterBtn:hover::after, #spreadsheetBtn:hover::after, #trashBtn:hover::after,
.jrbutton1:hover::after {
    transform: translateX(100%);
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: static;
    z-index: 1;
    border-radius: 8px; /* Add rounded corners */
    padding: 10px; /* Add padding */
    transition: opacity 0.5s ease-in-out; /* Add transition for opacity */
    opacity: 0; /* Initially hidden */
}

.dropdown:hover .dropdown-content {
    display: block;
    margin-top: 10px;
    opacity: 1; /* Show with transition */
}

.dropdown-content div {
    margin-bottom: 5px; /* Add spacing between buttons */
    padding: 8px 16px; /* Add padding inside buttons */
    border-radius: 5px; /* Round the buttons */
    transition: background-color 0.3s; /* Smooth transition effect */
}

.popup,
.merch-popup,
.filter-popup,
.shot-popup,
.shipment-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.popup-content,
.merch-popup-content,
.filter-popup-content,
.shot-popup-content,
.shipment-popup-content {
    background-color: #363a48;
    color: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    max-height: 85vh;
    width: 90%;
    max-width: 800px;
    overflow-y: auto;
    position: relative;
    border: 7px solid #2b2b2b;
}

.popup-header,
.filter-header,
.merch-popup-header,
.filter-popup-header,
.shot-popup-header,
.shipment-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.75rem;  /* Reduced from 1rem */
    border-bottom: 1px solid #bcd443;
    color: #bcd443;
}

.popup-header h2,
.merch-popup-header h2,
.filter-popup-header h2,
.shot-popup-header h2,
.shipment-popup-header h2 {
    margin: 0;
    color: #bcd443;
    font-size: 1.5rem;
}

.close-btn,
.merch-popup-close,
.filter-popup-close,
.shot-popup-close,
.shipment-popup-close {
    background: none;
    border: none;
    color: #bcd443;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s ease;
}

.close-btn:hover,
.merch-popup-close:hover,
.filter-popup-close:hover,
.shot-popup-close:hover,
.shipment-popup-close:hover {
    color: #ffffff;
}

.form-label {
    color: #bcd443;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 10px;
    display: block;
}

/* Shot Popup Styles */
.form-section {
    background-color: #1b1d24;
    padding: 1rem;  /* Reduced from 1.5rem */
    border-radius: 8px;
    margin-bottom: 1rem;  /* Reduced from 1.5rem */
}

.form-section:last-child {
    margin-bottom: 0;
}

.form-section h3 {
    color: #bcd443;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #dee2e6;
    font-size: 1.2rem;
}

.btn-group {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;  /* Reduced from 1.5rem */
    justify-content: flex-end;
}

.btn-group .btn {
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-group .btn:not(.btn-primary) {
    background-color: #6b6465;
    color: white;
    border: none;
}

.btn-group .btn:not(.btn-primary):hover {
    background-color: #847879;
}

.btn-group .btn-primary {
    background-color: #bcd443;
    color: #2d2a29;
    border: none;
}

.btn-group .btn-primary:hover {
    background-color: #d4ec4f;
}

/* Form styles for popups */
.popup input,
.popup select,
.popup textarea {
    background-color: #3d3a39;
    border: 1px solid #6b6465;
    color: white;
    padding: 0.5rem;
    border-radius: 4px;
    width: 100%;
    margin-bottom: 1rem;
}

.popup input:focus,
.popup select:focus,
.popup textarea:focus {
    border-color: #bcd443;
    outline: none;
    box-shadow: 0 0 0 2px rgba(188, 212, 67, 0.2);
}

.popup label {
    color: #bcd443;
}

.glass-display {
    background-color: #3c4252;
    border: 2px solid #4a4f5f;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
}

/* Detail group styles */
.detail-group,
.merch-detail-group,
.shot-detail-group,
.shipment-detail-group {
    margin-bottom: 1rem;
    padding: 0.5rem;
    border-radius: 4px;
    background-color: #7171713a;
}

.detail-label,
.merch-detail-label,
.shot-detail-label,
.shipment-detail-label {
    color: #bcd443;
    font-weight: 500;
    margin-right: 0.5rem;
    min-width: 120px;
    display: inline-block;
}

.detail-value,
.merch-detail-value,
.shot-detail-value,
.shipment-detail-value {
    color: white;
}

.custom-notification {
    position: fixed;
    top: 8rem;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background-color: #333;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
}

.custom-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification-content i {
    font-size: 1.2rem;
    color: #ffffff;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 4px;
    color: white;
    font-size: 14px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease-in-out;
    z-index: 99999; /* Ensure it's above all modals and popups */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 350px;
    word-wrap: break-word;
}

.notification.show {
    opacity: 1;
    transform: translateY(0);
}

.notification.success {
    background-color: #28a745;
    border-left: 5px solid #1e7e34;
}

.notification.error {
    background-color: #dc3545;
    border-left: 5px solid #bd2130;
}

.notification.info {
    background-color: #17a2b8;
    border-left: 5px solid #138496;
}

/* Add animation for notifications */
@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-20px);
        opacity: 0;
    }
}

.notification.animate-in {
    animation: slideIn 0.3s ease-out forwards;
}

.notification.animate-out {
    animation: slideOut 0.3s ease-in forwards;
}

.h6-container h6 {
    color: #c0c0c0;
}

/* Pagination styling */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.pagination .page-item {
    list-style: none;
}

.pagination .page-link {
    background-color: #3c4252;
    border: 1px solid rgba(188, 212, 67, 0.2);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(188, 212, 67, 0.1);
}

.pagination .page-link:hover {
    background-color: #4a4f64;
    border-color: #bcd443;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(188, 212, 67, 0.2);
}

.pagination .page-item.active .page-link {
    background-color: #bcd443;
    border-color: #bcd443;
    color: #363b49;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(188, 212, 67, 0.3);
}

.pagination .page-item.disabled .page-link {
    background-color: #2a2f3d;
    border-color: rgba(188, 212, 67, 0.1);
    color: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.pagination .page-link:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(188, 212, 67, 0.2);
}

.filter-option {
    color: #ffffff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.filter-option:hover {
    background-color: #4a4f64;
    color: #bcd443;
}

.filter-option.active {
    background-color: #bcd443;
    color: #363b49;
}

/* Form select styling */
.form-select {
    background-color: #3c4252;
    color: #ffffff;
    border: 1px solid rgba(188, 212, 67, 0.2);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.form-select:hover {
    border-color: #bcd443;
}

.form-select:focus {
    border-color: #bcd443;
    box-shadow: 0 0 0 2px rgba(188, 212, 67, 0.2);
    outline: none;
}

.form-select option {
    background-color: #3c4252;
    color: #ffffff;
}

/* Cloud and Lightning Animations */
@keyframes float {
    0% {
        transform: scale(1);
        color: #ffffffbb;
    }
    25% {
        transform: scale(1.02);
        color: #ffffffe0;
    }
    50% {
        transform: scale(1.01);
        color: #ffffffbb;
    }
    75% {
        transform: scale(1.03);
        color: #ffffffe0;
    }
    100% {
        transform: scale(1);
        color: #ffffffbb;
    }
}

.cloud-text {
    animation: float 3s ease-in-out infinite;
}

.quick-filter-section {
    padding: 1rem 0;
    border-bottom: 1px solid #3c4252;
    margin-bottom: 1.5rem;
}

.quick-filters {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.quick-filter-btn {
    background-color: #3c4252;
    border: 1px solid #4a5268;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.quick-filter-btn:hover {
    background-color: #4a5268;
    border-color: #5a6278;
}

.quick-filter-btn.active {
    background-color: #bcd443;
    border-color: #bcd443;
    color: #000000;
}

/* Logo Dropdown Styles */
.logo-dropdown-container {
    position: relative !important;
    z-index: 9998 !important;
}

.logo-dropdown {
    display: none;
    position: fixed; /* Changed from absolute to fixed */
    top: calc(4rem - 2px); /* Account for #topBanner height */
    left: 0;
    background-color: #373b49;
    border: 1px solid #2c3e50;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    z-index: 1000; /* Match z-index with topBanner */
    min-width: 200px;
    padding: 0.5rem 0;
    transform: none !important;
    margin-top: 0 !important;
}

.logo-dropdown-container:hover .logo-dropdown {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.logo-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.logo-dropdown .dropdown-item i {
    margin-right: 1rem;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.logo-dropdown .dropdown-item:hover {
    background-color: #bcd443;
    color: #2d2a29;
}

.logo-dropdown .dropdown-divider {
    height: 1px;
    background-color: #bcd44334;
    margin: 0.5rem 0;
}

#profileButton {
    position: absolute !important;
    right: 1rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 9999 !important;
    display: flex !important; /* Changed from block to flex */
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    color: #2d2a29 !important;
    border-color: #2d2a29 !important;
    background-color: #ffffff !important;
    width: 40px !important; /* Reduced from 50px */
    height: 40px !important; /* Added explicit height */
    border-radius: 8px !important;
    padding: 0.5rem !important;
    margin: 0 !important; /* Add margin: 0 to remove extra space */
}

#profileButton:hover {
    color: #ffffff !important;
    background-color: #2d2a29 !important;
    border-color: #ffffff !important;
}

/* Header buttons container for responsive layout */
.header-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    min-width: fit-content;
}

/* Bug report button styling */
#bugReportButton {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(35px, 5vw, 40px);
    height: clamp(35px, 5vw, 40px);
    border-radius: 8px;
    padding: 0;
    font-size: clamp(1rem, 2vw, 1.5rem);
    border: 2px solid #ffc107;
    background-color: transparent;
    color: #ffc107;
    transition: all 0.2s ease;
}

#bugReportButton:hover {
    background-color: #ffc107;
    color: #2d2a29;
    transform: translateY(-1px);
}

/* Update profile button for responsive design */
#profileButton {
    position: static !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    z-index: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    color: #2d2a29 !important;
    border-color: #2d2a29 !important;
    background-color: #ffffff !important;
    width: clamp(35px, 5vw, 40px) !important;
    height: clamp(35px, 5vw, 40px) !important;
    border-radius: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: clamp(1.2rem, 2.5vw, 2rem) !important;
    transition: all 0.2s ease !important;
}

/* Ensure the dropdown appears properly - updated to match screenshot */
#navDropdown {
    position: fixed !important; /* Changed from absolute to fixed */
    top: calc(4rem - 2px) !important; /* Account for #topBanner height */
    left: 0 !important;
    width: 170px !important;
    background-color: #373b49 !important;
    border: 2px solid #bcd443 !important;
    border-left: 5px solid #bcd443 !important;
    border-radius: 0 0 8px 8px !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5) !important;
    z-index: 1000 !important;  /* Match z-index with topBanner */
    padding: 0 !important;
    margin-top: 0 !important;
}

#navDropdown .dropdown-item {
    display: flex !important;
    align-items: center !important;
    padding: 1rem 1.5rem !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    border-bottom: 1px solid rgba(188, 212, 67, 0.1) !important;
}

#navDropdown .dropdown-item:hover {
    background-color: #424657 !important;
    color: #bcd443 !important;
}

#navDropdown .dropdown-item i {
    margin-right: 1rem !important;
    font-size: 1.2rem !important;
    color: #bcd443 !important;
}

#navDropdown .dropdown-divider {
    height: 1px !important;
    background-color: rgba(188, 212, 67, 0.1) !important;
    margin: 0 !important;
}

/* Bug Report Dropdown Styles */
.bug-report-dropdown {
    position: fixed;
    top: 4rem;  /* Reduced from 5rem to match new topBanner height */
    right: 1rem;
    width: 400px;
    max-width: 90vw;
    background-color: #363a48;
    border: 2px solid #bcd443;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    color: #ffffff;
}

.bug-report-dropdown-content {
    padding: 0;
}

.bug-report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;  /* Reduced from 1rem 1.5rem */
    border-bottom: 1px solid #bcd443;
    background-color: #2d2a29;
}

.bug-report-header h5 {
    margin: 0;
    color: #bcd443;
    font-size: 1.2rem;
    font-weight: 600;
}

.bug-report-body {
    padding: 1rem;  /* Reduced from 1.5rem */
    max-height: 60vh;
    overflow-y: auto;
}

.bug-report-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 0.75rem 1rem;  /* Reduced from 1rem 1.5rem */
    border-top: 1px solid #4a4f64;
    background-color: #2d2a29;
}

.bug-report-dropdown .form-control {
    background-color: #3c4252;
    border: 1px solid #4a4f64;
    color: #ffffff;
    border-radius: 6px;
}

.bug-report-dropdown .form-control:focus {
    background-color: #3c4252;
    border-color: #bcd443;
    color: #ffffff;
    box-shadow: 0 0 0 2px rgba(188, 212, 67, 0.2);
}

.bug-report-dropdown .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.bug-report-dropdown .form-label {
    color: #bcd443;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.bug-report-dropdown .form-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.bug-report-dropdown .alert {
    border-radius: 6px;
    padding: 0.75rem;
    margin-bottom: 1rem;
}

.bug-report-dropdown .alert-info {
    background-color: rgba(23, 162, 184, 0.1);
    border: 1px solid rgba(23, 162, 184, 0.3);
    color: #17a2b8;
}

.bug-report-dropdown .alert-warning {
    background-color: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: #ffc10787;
}

.bug-report-dropdown .btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.bug-report-dropdown .btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #ffffff;
}

.bug-report-dropdown .btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

.bug-report-dropdown .btn-warning {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #212529;
}

.bug-report-dropdown .btn-warning:hover {
    background-color: #e0a800;
    border-color: #d39e00;
}

/* Position bug report button container */
.header-buttons {
    position: relative;
}

/* Large screens - desktop layout optimization */
@media (min-width: 992px) {
    .main-content-wrapper {
        display: flex;
        flex-direction: column;
    }
    
    .title-section {
        margin-bottom: 0.75rem;  /* Reduced from 1rem */
    }
    
    .search-pagination-section {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .search-container {
        flex: 1;
        max-width: none;
    }
    
    .filters-section {
        padding: 0 0.5rem;
    }
    
    .controls-section {
        padding: 0 0.5rem;
    }
    
    .page-title {
        margin: 0 0 0.5rem 1rem;  /* Reduced margins */
    }
    
    .searchSection {
        padding: 0;
    }
}

/* Extra large screens */
@media (min-width: 1400px) {
    .search-pagination-section {
        gap: 1.5rem;
    }
}

/* Medium screens - tablets and small laptops */
@media (max-width: 991px) {
    .search-pagination-section {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
        padding: 0 0.5rem;
    }
    
    .pagination-controls {
        justify-content: center;
        gap: 0.6rem;
        flex-wrap: wrap;
    }
    
    .pagination-btn {
        width: 38px;
        height: 38px;
    }
    
    .pagination-btn i {
        font-size: 1.15rem;
    }
    
    .page-info {
        font-size: 0.95rem;
        padding: 0.5rem 0.85rem;
    }
    
    .table-size-controls {
        justify-content: center;
        gap: 0.75rem;
        margin-right: 0;
        flex-wrap: wrap;
    }
    
    .filters-section {
        padding: 0 0.5rem;
    }
    
    .controls-section {
        padding: 0 0.5rem;
    }
    
    .controls-container {
        padding: 0.75rem;  /* Reduced from 1rem */
    }
    
    .action-btn .btn-text {
        font-size: 0.8rem;
    }
    
    .page-title {
        margin: 0 0 0.5rem 1rem;  /* Reduced margins */
        font-size: clamp(1.3rem, 4vw, 2.2rem);
    }
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    #topBanner {
        padding: 0 0.5rem;
    }
    
    .logo-container {
        width: clamp(60px, 15vw, 80px);
        min-width: 60px;
        padding: 0 0.25rem;
    }
    
    .logo-container img {
        height: clamp(2rem, 6vw, 3rem);
    }
    
    #topBannerTitle {
        font-size: clamp(1.2rem, 5vw, 2rem);
    }
    
    .header-buttons {
        gap: 0.25rem;
    }
    
    #bugReportButton,
    #profileButton {
        width: clamp(30px, 8vw, 35px) !important;
        height: clamp(30px, 8vw, 35px) !important;
        font-size: clamp(0.8rem, 3vw, 1.2rem) !important;
    }
    
    .bug-report-dropdown {
        right: 0.5rem;
        width: 350px;
    }
    
    /* Responsive layout for main content */
    .search-pagination-section {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0 0.25rem;
        align-items: stretch;
    }
    
    .pagination-controls {
        justify-content: center;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .pagination-btn {
        width: 36px;
        height: 36px;
    }
    
    .pagination-btn i {
        font-size: 1.1rem;
    }
    
    .page-info {
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem;
    }
    
    .page-title {
        margin: 0 0 0.5rem 0.75rem;  /* Reduced margins */
        font-size: clamp(1.2rem, 5vw, 2rem);
    }
    
    .searchSection {
        padding: 0;
    }
    
    .filters-section {
        padding: 0 0.25rem;
    }
    
    .controls-section {
        padding: 0 0.25rem;
    }
    
    .controls-container {
        padding: 0.5rem;  /* Reduced from 0.75rem */
        border-width: 2px;
    }
    
    .controls-header {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;  /* Reduced from 0.75rem */
    }
    
    .table-size-controls {
        justify-content: center;
        gap: 0.75rem;
    }
    
    .control-label {
        font-size: 0.9rem;
    }
    
    .action-controls {
        justify-content: center;
    }
    
    .action-btn {
        min-width: 40px;
        height: 40px;
        padding: 0.375rem;
    }
    
    .action-btn .btn-text {
        display: none;
    }
    
    .pagination-btn {
        width: 35px;
        height: 35px;
    }
    
    .page-info {
        padding: 0.375rem 0.75rem;
    }
    
    #pageDisplay {
        color: #ffffff;
        font-weight: 500;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    #topBanner {
        padding: 0 0.25rem;
    }
    
    .logo-container {
        width: clamp(50px, 20vw, 60px);
        min-width: 50px;
        padding: 0;
    }
    
    .logo-container img {
        height: clamp(1.5rem, 8vw, 2rem);
    }
    
    #topBannerTitle {
        font-size: clamp(1rem, 6vw, 1.5rem);
    }
    
    .cloud-text {
        font-size: clamp(1rem, 4vw, 1.5rem) !important;
    }
    
    .lightning-bolt {
        font-size: clamp(0.6rem, 2vw, 0.8rem) !important;
    }
    
    .header-buttons {
        gap: 0.125rem;
    }
    
    #bugReportButton,
    #profileButton {
        width: clamp(28px, 10vw, 32px) !important;
        height: clamp(28px, 10vw, 32px) !important;
        font-size: clamp(0.7rem, 4vw, 1rem) !important;
    }
    
    /* Extra small screen adjustments */
    .search-pagination-section {
        padding: 0 0.125rem;
        gap: 0.375rem;
        flex-direction: column;
        align-items: stretch;
    }
    
    .pagination-controls {
        gap: 0.25rem;
        justify-content: center;
        flex-wrap: wrap;
        padding: 0 0.25rem;
    }
    
    .pagination-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .pagination-btn i {
        font-size: 1rem;
    }
    
    .page-info {
        font-size: 0.8rem;
        padding: 0.375rem 0.5rem;
        white-space: nowrap;
    }
    
    .page-title {
        margin: 0 0 0.375rem 0.5rem;  /* Reduced margins */
        font-size: clamp(1rem, 6vw, 1.5rem);
    }
    
    .filters-section {
        padding: 0 0.125rem;
    }
    
    .controls-section {
        padding: 0 0.125rem;
    }
    
    .controls-container {
        padding: 0.375rem;  /* Reduced from 0.5rem */
        border-width: 1px;
    }
    
    .controls-header {
        gap: 0.375rem;  /* Reduced from 0.5rem */
    }
    
    .table-size-controls {
        gap: 0.5rem;
    }
    
    .size-btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }
    
    .action-btn {
        min-width: 35px;
        height: 35px;
        padding: 0.25rem;
    }
    
    .action-btn i {
        font-size: 1rem;
        line-height: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .pagination-btn {
        width: 32px;
        height: 32px;
    }
    
    .pagination-btn i {
        font-size: 1rem;
    }
    
    .searchBar {
        gap: 0.5rem;
    }
    
    .search-buttons {
        gap: 0.5rem;
    }
    
    .search-buttons button {
        width: 40px;
        height: 40px;
    }
    
    /* Shot list view specific responsive styles */
    .calendar-search-container .d-flex {
        flex-direction: column !important;
        gap: 0.5rem !important;  /* Reduced from 0.75rem */
    }
    
    .search-results {
        min-width: auto !important;
        width: 100% !important;
    }
    
    .btn-group {
        width: 100%;
        justify-content: center;
    }
    
    .btn-group .btn {
        flex: 1;
        max-width: 150px;
    }
    
    /* Shipments view specific responsive styles */
    .view-toggle-controls {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .toggle-buttons {
        display: flex;
        gap: 0.25rem;
        flex-wrap: wrap;
    }
    
    .view-btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
        white-space: nowrap;
    }
    
    .tracking-and-view-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.5rem;  /* Reduced from 0.75rem */
    }
    
    .tracking-and-view-row .action-controls {
        margin-left: 0 !important;
        justify-content: center;
    }
    
    #pageDisplay {
        font-size: 0.875rem;
        padding: 0.375rem 0.75rem;
        text-align: center;
    }
}