
/* ========================================
   Cart Item - Compact Design
   ======================================== */

.cart-item-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 3px 8px;
    margin-bottom: 6px;
    border: 1px solid #e8e8e8;
}

.cart-item-card:hover {
    border-color: #d0d0d0;
}

.rm-dark .cart-item-card {
    background: #2a2a2a;
    border-color: #3a3a3a;
}

.rm-dark .cart-item-card:hover {
    border-color: #4a4a4a;
}

/* Main Content Row */
.cart-item__main-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: nowrap;
}

.cart-item__product-info {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 220px);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.cart-item__product-name {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.3;
    word-wrap: break-word;
    flex: 1 1 auto;
    min-width: 80px;
}

.rm-dark .cart-item__product-name {
    color: #ffffff;
}

.cart-item__discount-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 5px;
    background: #ff6b35;
    color: #ffffff;
    font-size: 10px;
    font-weight: 600;
    border-radius: 3px;
    white-space: nowrap;
    flex-shrink: 0;
}

.cart-item__discount-badge i {
    font-size: 9px;
}

.cart-item__controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    width: auto;
}

.cart-item__quantity-control {
    display: inline-flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 5px;
    padding: 2px;
    gap: 2px;
    border: 1px solid #e0e0e0;
    flex-shrink: 0;
    width: 88px;
}

.rm-dark .cart-item__quantity-control {
    background: #3a3a3a;
    border-color: #4a4a4a;
}

.cart-item__quantity-btn {
    width: 24px;
    height: 24px;
    border: none;
    background: #ffffff;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: #666;
}

.cart-item__quantity-btn::before {
    content: '−';
}

.cart-item__quantity-btn.cart-item__quantity-btn--plus::before {
    content: '+';
}

.cart-item__quantity-btn:hover {
    background: var(--rm-orange);
    color: #ffffff;
}

.cart-item__quantity-btn:active {
    transform: scale(0.95);
}

.rm-dark .cart-item__quantity-btn {
    background: #2a2a2a;
    color: #ffffff;
}

.rm-dark .cart-item__quantity-btn:hover {
    background: var(--rm-orange);
}

.cart-item__quantity-input {
    width: 35px;
    height: 24px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    -moz-appearance: textfield;
}

.cart-item__quantity-input::-webkit-outer-spin-button,
.cart-item__quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-item__quantity-input:focus {
    outline: none;
}

.rm-dark .cart-item__quantity-input {
    color: #ffffff;
}

.cart-item__price {
    font-size: 15px;
    font-weight: 700;
    color: var(--rm-orange);
    white-space: nowrap;
    width: 80px;
    text-align: right;
    flex-shrink: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item__edit-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
}

.cart-item__edit-btn:hover {
    background: var(--rm-blue);
    border-color: var(--rm-blue);
}

.cart-item__edit-btn i {
    font-size: 12px;
    color: #666;
}

.cart-item__edit-btn:hover i {
    color: #ffffff;
}

.rm-dark .cart-item__edit-btn {
    background: #3a3a3a;
    border-color: #4a4a4a;
}

.rm-dark .cart-item__edit-btn i {
    color: #ffffff;
}

.rm-dark .cart-item__edit-btn:hover {
    background: var(--rm-blue);
    border-color: var(--rm-blue);
}

/* Footer Section - Extras & Notes */
.cart-item-footer {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid #f0f0f0;
}

.rm-dark .cart-item-footer {
    border-top-color: #3a3a3a;
}

.cart-item__extra-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 0;
    gap: 6px;
}

.cart-item__extra-label {
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 4px;
}

.cart-item__extra-label::before {
    content: '';
    width: 3px;
    height: 3px;
    background: var(--rm-orange);
    border-radius: 50%;
}

.rm-dark .cart-item__extra-label {
    color: #b0b0b0;
}

.cart-item__extra-price {
    font-size: 12px;
    font-weight: 600;
    color: #1a1a1a;
    white-space: nowrap;
}

.rm-dark .cart-item__extra-price {
    color: #ffffff;
}

.cart-item__note {
    background: #fef9f3;
    border-left: 2px solid var(--rm-orange);
    padding: 5px 6px;
    border-radius: 4px;
    margin-bottom: 3px;
}

.cart-item__note-text {
    font-size: 12px;
    color: #666;
    line-height: 1.3;
    font-style: italic;
}

.rm-dark .cart-item__note {
    background: #3a2f1f;
}

.rm-dark .cart-item__note-text {
    color: #d0d0d0;
}

/* Responsive Design */
@media (max-width: 640px) {
    .cart-item-card {
        padding: 6px 8px;
        margin-bottom: 5px;
    }
    
    .cart-item__main-row {
        gap: 6px;
        flex-wrap: wrap;
    }
    
    .cart-item__product-info {
        flex: 1 1 100%;
        min-width: 100%;
        max-width: 100%;
        margin-bottom: 4px;
    }
    
    .cart-item__product-name {
        font-size: 13px;
        flex: 1 1 auto;
        min-width: auto;
    }
    
    .cart-item__discount-badge {
        flex-shrink: 1;
    }
    
    .cart-item__controls {
        flex: 0 0 100%;
        width: 100%;
        justify-content: space-between;
        gap: 4px;
        flex-shrink: 0;
        min-width: 100%;
    }
    
    .cart-item__quantity-control {
        flex-shrink: 0;
        padding: 1px;
        gap: 1px;
        width: auto;
    }
    
    .cart-item__quantity-btn {
        width: 22px;
        height: 22px;
        font-size: 12px;
        flex-shrink: 0;
    }
    
    .cart-item__quantity-input {
        width: 28px;
        height: 22px;
        font-size: 12px;
    }
    
    .cart-item__price {
        font-size: 14px;
        width: auto;
        min-width: 50px;
        flex-shrink: 0;
    }
    
    .cart-item__edit-btn {
        width: 26px;
        height: 26px;
        flex-shrink: 0;
    }
    
    .cart-item__edit-btn i {
        font-size: 11px;
    }
    
    .cart-item-footer {
        margin-top: 5px;
        padding-top: 5px;
    }
    
    .cart-item__extra-row {
        padding: 1px 0;
    }
    
    .cart-item__extra-label,
    .cart-item__extra-price {
        font-size: 11px;
    }
    
    .cart-item__note {
        padding: 4px 5px;
        margin-bottom: 2px;
    }
    
    .cart-item__note-text {
        font-size: 11px;
        line-height: 1.3;
    }
}

/* ========================================
   Pay Modal Item - With Product Image
   ======================================== */

.pay-modal-item {
    background: #ffffff;
    border-radius: 8px;
    padding: 8px 10px;
    margin-bottom: 8px;
    border: 1px solid #e8e8e8;
}

[data-theme="dark"] .pay-modal-item {
    background: #2a2a2a;
    border-color: #3a3a3a;
}

.pay-modal-item__row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pay-modal-item__image {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f5f5f5;
}

[data-theme="dark"] .pay-modal-item__image {
    background: #3a3a3a;
}

.pay-modal-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pay-modal-item__content {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 240px);
}

.pay-modal-item__name {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.3;
    word-wrap: break-word;
    display: block;
}

[data-theme="dark"] .pay-modal-item__name {
    color: #ffffff;
}

.pay-modal-item__controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.pay-modal-item__quantity-control {
    display: inline-flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 5px;
    padding: 2px;
    border: 1px solid #e0e0e0;
    flex-shrink: 0;
    width: 88px;
}

[data-theme="dark"] .pay-modal-item__quantity-control {
    background: #3a3a3a;
    border-color: #4a4a4a;
}

.pay-modal-item__quantity-btn {
    width: 24px;
    height: 24px;
    border: none;
    background: #ffffff;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    flex-shrink: 0;
}

.pay-modal-item__quantity-btn::before {
    content: '−';
}

.pay-modal-item__quantity-btn.pay-modal-item__quantity-btn--plus::before {
    content: '+';
}

.pay-modal-item__quantity-btn:hover {
    background: var(--rm-orange);
    color: #ffffff;
}

.pay-modal-item__quantity-btn:active {
    transform: scale(0.95);
}

[data-theme="dark"] .pay-modal-item__quantity-btn {
    background: #2a2a2a;
    color: #ffffff;
}

[data-theme="dark"] .pay-modal-item__quantity-btn:hover {
    background: var(--rm-orange);
}

.pay-modal-item__quantity-input {
    width: 35px;
    height: 24px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    -moz-appearance: textfield;
}

.pay-modal-item__quantity-input::-webkit-outer-spin-button,
.pay-modal-item__quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pay-modal-item__quantity-input:focus {
    outline: none;
}

[data-theme="dark"] .pay-modal-item__quantity-input {
    color: #ffffff;
}

.pay-modal-item__price {
    font-size: 15px;
    font-weight: 700;
    color: var(--rm-orange);
    white-space: nowrap;
    width: 80px;
    text-align: right;
    flex-shrink: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pay-modal-item__reset-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rm-orange);
    border: 1px solid var(--rm-orange);
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
}

.pay-modal-item__reset-btn:hover {
    background: #ff8c05;
    border-color: #ff8c05;
}

.pay-modal-item__reset-btn span {
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
}

[data-theme="dark"] .pay-modal-item__reset-btn {
    background: var(--rm-orange);
    border-color: var(--rm-orange);
}

/* Responsive Design for Pay Modal */
@media (max-width: 640px) {
    .pay-modal-item {
        padding: 6px 8px;
        margin-bottom: 6px;
    }
    
    .pay-modal-item__row {
        gap: 8px;
    }
    
    .pay-modal-item__image {
        width: 40px;
        height: 40px;
    }
    
    .pay-modal-item__content {
        max-width: calc(100% - 200px);
    }
    
    .pay-modal-item__name {
        font-size: 13px;
    }
    
    .pay-modal-item__controls {
        gap: 6px;
    }
    
    .pay-modal-item__quantity-control {
        width: auto;
        padding: 1px;
        gap: 1px;
    }
    
    .pay-modal-item__quantity-btn {
        width: 22px;
        height: 22px;
        font-size: 12px;
    }
    
    .pay-modal-item__quantity-input {
        width: 28px;
        height: 22px;
        font-size: 12px;
    }
    
    .pay-modal-item__price {
        font-size: 14px;
        width: auto;
        min-width: 50px;
    }
    
    .pay-modal-item__reset-btn {
        width: 26px;
        height: 26px;
    }
    
    .pay-modal-item__reset-btn span {
        font-size: 11px;
    }
}

/* =============================================
   ORDER ITEM CARD - Compact display-only order items
   ============================================= */
.order-item-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 4px 8px;
    margin-bottom: 4px;
}

[data-theme="dark"] .order-item-card {
    background: #2a2a2a;
    border-color: #3a3a3a;
}

.order-item__main-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.order-item__checkbox {
    flex-shrink: 0;
}

.order-item__checkbox input[type="checkbox"] {
    width: 22px;
    height: 22px;
    cursor: pointer;
    margin: 0;
}

.order-item__content {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.order-item__product-name {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.3;
    word-wrap: break-word;
}

[data-theme="dark"] .order-item__product-name {
    color: #ffffff;
}

.order-item__timer-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: #ff9500;
    white-space: nowrap;
}

.order-item__discount-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #ff9500;
    font-weight: 600;
    white-space: nowrap;
}

.order-item__discount-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: #fff5f0;
    border: 1px solid #ffe5d9;
    cursor: pointer;
    margin-left: 2px;
    transition: background-color 0.2s;
}

.order-item__discount-remove:hover {
    background: #ffe5d9;
}

[data-theme="dark"] .order-item__discount-remove {
    background: #3a2a20;
    border-color: #4a3a30;
}

[data-theme="dark"] .order-item__discount-remove:hover {
    background: #4a3a30;
}

.order-item__discount-remove i {
    font-size: 10px;
    color: #ff9500;
}

.order-item__controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
}

.order-item__price {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    white-space: nowrap;
    min-width: 60px;
    text-align: right;
}

[data-theme="dark"] .order-item__price {
    color: #ffffff;
}

.order-item__edit-btn,
.order-item__delete-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    flex-shrink: 0;
}

.order-item__edit-btn:hover {
    background: #e8e8e8;
}

.order-item__delete-btn {
    background: #fff5f5;
    border-color: #ffe5e5;
}

.order-item__delete-btn:hover {
    background: #ffe5e5;
}

[data-theme="dark"] .order-item__edit-btn {
    background: #3a3a3a;
    border-color: #4a4a4a;
}

[data-theme="dark"] .order-item__edit-btn:hover {
    background: #4a4a4a;
}

[data-theme="dark"] .order-item__delete-btn {
    background: #3a2a2a;
    border-color: #4a3a3a;
}

[data-theme="dark"] .order-item__delete-btn:hover {
    background: #4a3a3a;
}

.order-item__edit-btn i {
    font-size: 12px;
    color: #666666;
}

[data-theme="dark"] .order-item__edit-btn i {
    color: #ffffff;
}

.order-item__delete-btn i {
    font-size: 12px;
    color: #dc3545;
}

.order-item__extra-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3px 0 0 0;
    margin-top: 3px;
    border-top: 1px solid #f0f0f0;
    gap: 8px;
}

[data-theme="dark"] .order-item__extra-row {
    border-top-color: #3a3a3a;
}

.order-item__extra-row:first-child {
    margin-top: 4px;
}

.order-item__note {
    font-size: 13px;
    color: #666666;
    line-height: 1.4;
    flex: 1 1 auto;
    word-wrap: break-word;
}

[data-theme="dark"] .order-item__note {
    color: #999999;
}

.order-item__extra-name {
    font-size: 13px;
    color: #666666;
    flex: 1 1 auto;
    word-wrap: break-word;
}

[data-theme="dark"] .order-item__extra-name {
    color: #999999;
}

.order-item__extra-price {
    font-size: 13px;
    font-weight: 500;
    color: #1a1a1a;
    white-space: nowrap;
}

[data-theme="dark"] .order-item__extra-price {
    color: #ffffff;
}

/* Payment mode - wider margins */
.order-item-card--payment .order-item__main-row {
    margin-bottom: 0;
}

.order-item-card--payment .order-item__controls {
    gap: 12px;
}

/* Mobile responsive */
@media (max-width: 640px) {
    .order-item-card {
        padding: 3px 6px;
    }
    
    .order-item__main-row {
        gap: 8px;
    }
    
    .order-item__product-name {
        font-size: 13px;
    }
    
    .order-item__controls {
        gap: 6px;
    }
    
    .order-item__price {
        font-size: 13px;
        min-width: 50px;
    }
    
    .order-item__edit-btn,
    .order-item__delete-btn {
        width: 26px;
        height: 26px;
    }
    
    .order-item__edit-btn i,
    .order-item__delete-btn i {
        font-size: 11px;
    }
    
    .order-item__extra-row {
        padding: 2px 0 0 0;
        margin-top: 2px;
    }
}

/* order-item rm-dark (dark mode) */
.rm-dark .order-item-card {
    background: #1e2530;
    border-color: #2e3745;
}

.rm-dark .order-item__product-name {
    color: #f0f0f0;
}

.rm-dark .order-item__discount-remove {
    background: #3a2a20;
    border-color: #4a3a30;
}

.rm-dark .order-item__discount-remove:hover {
    background: #4a3a30;
}

.rm-dark .order-item__price {
    color: #f0f0f0;
}

.rm-dark .order-item__edit-btn {
    background: #2e3745;
    border-color: #3e4755;
}

.rm-dark .order-item__edit-btn:hover {
    background: #3e4755;
}

.rm-dark .order-item__edit-btn i {
    color: #d0d0d0;
}

.rm-dark .order-item__delete-btn {
    background: #2e2020;
    border-color: #3e3030;
}

.rm-dark .order-item__delete-btn:hover {
    background: #3e3030;
}

.rm-dark .order-item__extra-row {
    border-top-color: #2e3745;
}

.rm-dark .order-item__note {
    color: #8a9ab0;
}

.rm-dark .order-item__extra-name {
    color: #8a9ab0;
}

.rm-dark .order-item__extra-price {
    color: #f0f0f0;
}


.pwa-install-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 99999;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.pwa-install-prompt {
  background: white;
  border-radius: 20px 20px 0 0;
  padding: 24px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.pwa-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 32px;
  color: #666;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.pwa-close-btn:hover {
  background: #f0f0f0;
  color: #333;
}

.pwa-icon {
  text-align: center;
  margin-bottom: 16px;
}

.pwa-icon img {
  height: 80px;
  border-radius: 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pwa-title {
  font-size: 22px;
  font-weight: 600;
  text-align: center;
  margin: 0 0 12px 0;
  color: #1a1a1a;
}

.pwa-description {
  font-size: 15px;
  text-align: center;
  color: #666;
  margin: 0 0 20px 0;
  line-height: 1.5;
}

.pwa-benefits {
  display: flex;
  justify-content: space-around;
  margin-bottom: 24px;
  padding: 16px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.pwa-benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #555;
}

.benefit-icon {
  font-size: 24px;
}

.pwa-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pwa-btn {
  padding: 14px 24px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
}

.pwa-btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.pwa-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.pwa-btn-primary:active {
  transform: translateY(0);
}

.pwa-btn-secondary {
  background: #f5f5f5;
  color: #666;
}

.pwa-btn-secondary:hover {
  background: #e8e8e8;
}

.pwa-ios-instructions {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}

.pwa-ios-instructions p {
  margin: 0 0 12px 0;
  font-weight: 600;
  color: #333;
  font-size: 15px;
}

.pwa-ios-instructions ol {
  margin: 0;
  padding-left: 20px;
  color: #555;
}

.pwa-ios-instructions li {
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 14px;
}

.pwa-ios-instructions li:last-child {
  margin-bottom: 0;
}

.ios-icon {
  display: inline-block;
  margin-right: 8px;
  font-size: 18px;
}

/* Tablet ve üzeri için */
@media (min-width: 768px) {
  .pwa-install-overlay {
    align-items: center;
  }

  .pwa-install-prompt {
    border-radius: 20px;
    max-width: 420px;
  }
}

/* Dark mode desteği */
body.rm-dark .pwa-install-prompt {
  background: #1a1a1a;
  color: #fff;
}

body.rm-dark .pwa-title {
  color: #fff;
}

body.rm-dark .pwa-description {
  color: #aaa;
}

body.rm-dark .pwa-benefit {
  color: #999;
}

body.rm-dark .pwa-benefits {
  border-color: #333;
}

body.rm-dark .pwa-btn-secondary {
  background: #2a2a2a;
  color: #ccc;
}

body.rm-dark .pwa-btn-secondary:hover {
  background: #333;
}

body.rm-dark .pwa-close-btn {
  color: #aaa;
}

body.rm-dark .pwa-close-btn:hover {
  background: #2a2a2a;
  color: #fff;
}

body.rm-dark .pwa-ios-instructions {
  background: #2a2a2a;
}

body.rm-dark .pwa-ios-instructions p {
  color: #fff;
}

body.rm-dark .pwa-ios-instructions ol {
  color: #ccc;
}
/* PriceModal - Ultra Modern 2026 Design */
/* Prefix: pnp- (Price Numpad) */

.pnp-modal-backdrop {
  backdrop-filter: blur(12px);
}

.pnp-modal-content {
  border-radius: 28px;
  border: none;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff 0%, #f5f7fa 100%);
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.pnp-header {
  border: none;
  padding: 24px 24px 20px;
  background: linear-gradient(to bottom, #ffffff 0%, #fafbfc 100%);
  border-bottom: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pnp-title {
  font-size: 18px;
  font-weight: 700;
  color: #212529;
  letter-spacing: -0.4px;
  margin: 0;
}

.pnp-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #f1f3f5;
  opacity: 1;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  touch-action: manipulation;
}

.pnp-close-btn:hover {
  background: #e9ecef;
  transform: scale(1.05);
}

.pnp-close-btn:active {
  transform: scale(0.95);
}

.pnp-body {
  padding: 20px 20px 24px;
  background: #fafbfc;
}

/* Display Area */
.pnp-display {
  height: 72px;
  background: linear-gradient(135deg, #212529 0%, #343a40 100%);
  border: none;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 24px;
  margin-bottom: 20px;
  box-shadow: 
    0 8px 20px rgba(33, 37, 41, 0.15),
    inset 0 1px 2px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.pnp-display::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.2) 50%, 
    transparent 100%);
}

.pnp-display-text {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Mono', 'Menlo', 'Monaco', monospace;
  letter-spacing: -1px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  min-height: 42px;
  display: flex;
  align-items: center;
}

.pnp-display-text:empty::before {
  content: '0';
  opacity: 0.4;
}

.pnp-display-cursor {
  display: inline-block;
  width: 2px;
  height: 32px;
  background: #ffffff;
  margin-left: 4px;
  animation: pnp-blink 1s infinite;
}

@keyframes pnp-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* Numpad Grid */
.pnp-numpad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

/* Backspace Button - Full Width */
.pnp-backspace-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.pnp-btn-backspace {
  height: 54px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
  border: none;
  border-radius: 14px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  box-shadow: 
    0 4px 12px rgba(255, 107, 107, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.15s ease;
  touch-action: manipulation;
  position: relative;
  overflow: hidden;
}

.pnp-btn-backspace:active {
  transform: scale(0.96);
  box-shadow: 0 2px 6px rgba(255, 107, 107, 0.3);
}

/* Number Buttons */
.pnp-btn {
  height: 64px;
  background: #ffffff;
  border: 1px solid #e1e5e9;
  border-radius: 14px;
  font-size: 24px;
  font-weight: 600;
  color: #212529;
  letter-spacing: -0.5px;
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 -2px 0 rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  touch-action: manipulation;
  position: relative;
  overflow: hidden;
}

.pnp-btn:hover {
  background: #f8f9fa;
  border-color: #dee2e6;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pnp-btn:active {
  transform: scale(0.96);
  background: #e9ecef;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Ripple Effect */
.pnp-btn::after,
.pnp-btn-backspace::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
}

.pnp-btn:active::after {
  width: 120px;
  height: 120px;
}

.pnp-btn-backspace:active::after {
  background: rgba(255, 255, 255, 0.3);
  width: 200px;
  height: 200px;
}

/* Fix: Prevent .number-input button::before/::after from interfering with pnp buttons */
.pnp-modal-content .pnp-btn::before,
.pnp-modal-content .pnp-btn-backspace::before,
.pnp-modal-content .pnp-btn-cancel::before,
.pnp-modal-content .pnp-btn-confirm::before,
.pnp-modal-content .pnp-close-btn::before {
  display: none !important;
  content: none !important;
}

.pnp-modal-content .pnp-btn-cancel::after,
.pnp-modal-content .pnp-btn-confirm::after,
.pnp-modal-content .pnp-close-btn::after {
  display: none !important;
  content: none !important;
}

.pnp-modal-content .pnp-btn::after,
.pnp-modal-content .pnp-btn-backspace::after {
  content: '' !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 0 !important;
  height: 0 !important;
  border-radius: 50% !important;
  background: rgba(0, 0, 0, 0.1) !important;
  transform: translate(-50%, -50%) !important;
  transition: width 0.4s, height 0.4s !important;
}

.pnp-modal-content .pnp-btn:active::after {
  width: 120px !important;
  height: 120px !important;
}

.pnp-modal-content .pnp-btn-backspace:active::after {
  background: rgba(255, 255, 255, 0.3) !important;
  width: 200px !important;
  height: 200px !important;
}

/* Special Buttons (00, 0, .) */
.pnp-btn-zero,
.pnp-btn-double-zero,
.pnp-btn-dot,
.pnp-btn-minus {
  font-size: 24px;
}

/* Footer */
.pnp-footer {
  border: none;
  padding: 20px;
  background: #ffffff;
  border-top: 1px solid #e9ecef;
}

.pnp-footer-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pnp-btn-cancel {
  height: 52px;
  background: #f1f3f5;
  border: none;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  color: #495057;
  letter-spacing: -0.2px;
  touch-action: manipulation;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.pnp-btn-cancel:hover {
  background: #e9ecef;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.pnp-btn-cancel:active {
  transform: scale(0.98);
}

.pnp-btn-confirm {
  height: 52px;
  background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
  border: none;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.2px;
  box-shadow: 
    0 6px 20px rgba(255, 107, 53, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  touch-action: manipulation;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pnp-btn-confirm:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
}

.pnp-btn-confirm:active {
  transform: scale(0.98);
}

/* Responsive */
@media (max-width: 576px) {
  .pnp-modal-content {
    margin: 0;
    border-radius: 24px;
    width: 100%;
    max-width: 100%;
  }
  
  .pnp-body {
    padding: 16px;
  }
  
  .pnp-display {
    height: 64px;
    padding: 0 20px;
  }
  
  .pnp-display-text {
    font-size: 32px;
  }
  
  .pnp-btn {
    height: 58px;
    font-size: 22px;
  }
  
  .pnp-btn-backspace {
    height: 50px;
  }
  
  .pnp-numpad {
    gap: 10px;
  }
  
  .pnp-backspace-row {
    gap: 10px;
    margin-bottom: 10px;
  }
}

@media (min-width: 577px) and (max-width: 992px) {
  .pnp-modal-content {
    width: 80%;
    max-width: 520px;
  }
}

@media (min-width: 993px) {
  .pnp-modal-content {
    width: 50%;
    min-width: 480px;
    max-width: 600px;
  }
}

/* Dark mode support */
body.rm-dark .pnp-modal-content {
  background: linear-gradient(145deg, #1a1d23 0%, #25282e 100%);
}

body.rm-dark .pnp-header {
  background: linear-gradient(to bottom, #1a1d23 0%, #1f2229 100%);
  border-bottom-color: #343a40;
}

body.rm-dark .pnp-title {
  color: #f8f9fa;
}

body.rm-dark .pnp-close-btn {
  background: #343a40;
}

body.rm-dark .pnp-close-btn:hover {
  background: #495057;
}

body.rm-dark .pnp-body {
  background: #25282e;
}

body.rm-dark .pnp-btn {
  background: #2d3139;
  border-color: #3d4149;
  color: #f8f9fa;
}

body.rm-dark .pnp-btn:hover {
  background: #343a42;
}

body.rm-dark .pnp-btn:active {
  background: #3d4149;
}

body.rm-dark .pnp-footer {
  background: #1a1d23;
  border-top-color: #343a40;
}

body.rm-dark .pnp-btn-cancel {
  background: #343a40;
  color: #f8f9fa;
}

body.rm-dark .pnp-btn-cancel:hover {
  background: #495057;
}

/* ========================================
   PacketListItem - Ultra Modern 2026 Design
   ======================================== */

/* Container Styles */
.packets_container {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
  backdrop-filter: blur(10px);
}

/* Gradient overlay for depth */
.packets_container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

/* Animated border effect */
.packets_container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, 
    rgba(255, 163, 5, 0.8) 0%, 
    rgba(255, 140, 0, 0.8) 50%, 
    rgba(255, 163, 5, 0.8) 100%);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.packets_container:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08);
}

.packets_container:hover::before {
  opacity: 0.8;
}

/* Decorative Background Elements */
.packets_container-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.packets_container-background i {
  position: absolute;
  font-size: 120px;
  opacity: 0.1;
}

/* Durum bazlı icon renkleri */
.packets_container[data-status="none"] .packets_container-background i {
  color: #c1c7c7;
}

.packets_container[data-status="Approved"] .packets_container-background i {
  color: #573a0c;
}

.packets_container[data-status="Ready"] .packets_container-background i {
  color: #0b4b50;
}

.packets_container[data-status="OnDelivery"] .packets_container-background i {
  color: #032d49;
}

.packets_container[data-status="Delivered"] .packets_container-background i {
  color: #075326;
}

.packets_container[data-status="Rejected"] .packets_container-background i {
  color: #420c06;
}

/* Status-specific background icons */
.packets_container[data-status="none"] .packets_container-background i:nth-child(1) {
  top: -20px;
  left: -30px;
}

.packets_container[data-status="none"] .packets_container-background i:nth-child(2) {
  bottom: -30px;
  left: 40px;
  font-size: 80px;
}

.packets_container[data-status="Approved"] .packets_container-background i {
  top: 50%;
  left: -40px;
  transform: translateY(-50%);
}

.packets_container[data-status="Ready"] .packets_container-background i {
  top: -30px;
  left: -35px;
}

.packets_container[data-status="OnDelivery"] .packets_container-background i {
  bottom: -25px;
  left: -30px;
}

.packets_container[data-status="Delivered"] .packets_container-background i {
  top: 50%;
  left: -35px;
  transform: translateY(-50%);
}

.packets_container[data-status="Rejected"] .packets_container-background i {
  top: -30px;
  left: -40px;
}

/* Floating Bubbles */
.packets_bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  z-index: 0;
}

/* ========================================
   Status Button Colors
   ======================================== */
.packets_btn-status-none {
  background-color: #f1c40f !important;
  border-color: #f1c40f !important;
  color: #212529 !important;
}

.packets_btn-status-approved {
  background-color: #bdc3c7 !important;
  border-color: #bdc3c7 !important;
  color: #212529 !important;
}

.packets_btn-status-ready {
  background-color: #2980b9 !important;
  border-color: #2980b9 !important;
  color: white !important;
}

.packets_btn-status-ondelivery {
  background-color: #27ae60 !important;
  border-color: #27ae60 !important;
  color: white !important;
}

.packets_btn-status-delivered {
  background-color: #27ae60 !important;
  border-color: #27ae60 !important;
  color: white !important;
}

.packets_btn-status-rejected {
  background-color: #c0392b !important;
  border-color: #c0392b !important;
  color: white !important;
}

/* ========================================
   DESKTOP VIEW - Modern Card Layout
   ======================================== */
.packets_desktop-view {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  padding: 4px;
  background: transparent !important;
  position: relative;
  z-index: 2;
}

.packets_mobile-view {
  display: none;
}

/* Platform Column */
.packets_desktop-platform {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 200px;
  min-width: 200px;
}

.packets_platform-logo {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.packets_platform-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.packets_platform-logo-icon {
  font-size: 24px;
  color: #FFA305;
}

.packets_platform-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.packets_platform-order {
  font-size: 16px;
  font-weight: 700;
  color: #212529;
  word-break: break-word;
  line-height: 1.2;
}

.packets_platform-code {
  font-size: 12px;
  color: #6c757d;
  font-weight: 500;
  word-break: break-word;
  line-height: 1.3;
}

/* Customer Column */
.packets_desktop-customer {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  max-width: 128px;
  flex: 1 1 150px;
}

.packets_customer-name,
.packets_customer-courier {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #495057;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.packets_customer-name {
  font-weight: 600;
  color: #212529;
}

.packets_customer-name i,
.packets_customer-courier i {
  width: 16px;
  color: #FFA305;
  flex-shrink: 0;
}

/* Status Column */
.packets_desktop-status {
  display: flex;
  justify-content: center;
  flex: 0 0 auto;
  width: 200px;
}

.packets_desktop-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

.packets_desktop-status-badge i {
  font-size: 16px;
}

/* Payment Column */
.packets_desktop-payment {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 120px;
  flex: 0 0 180px;
}

.packets_payment-amount {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #212529;
}

.packets_payment-amount i {
  color: #ffc107;
  font-size: 18px;
}

.packets_payment-method {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #6c757d;
  font-weight: 500;
}

.packets_payment-method i {
  color: #FFA305;
}

/* Time Column */
.packets_desktop-time {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 100px;
  flex: 0 0 130px;
}

.packets_time-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #6c757d;
  font-weight: 500;
}

.packets_time-date i {
  color: #FFA305;
}

.packets_time-elapsed {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  color: white;
  align-self: flex-start;
}

.packets_time-elapsed i {
  font-size: 14px;
}

/* Desktop Actions */
.packets_desktop-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  flex: 0 0 480px;
  min-width: 480px;
  margin-left: auto;
}

.packets_desktop-actions > * {
  grid-column: span 1;
}

/* 1 buton varsa tam genişlikte */
.packets_desktop-actions > *:only-child {
  grid-column: 1 / -1;
}

/* 2 buton varsa yan yana */
.packets_desktop-actions > *:first-child:nth-last-child(2),
.packets_desktop-actions > *:first-child:nth-last-child(2) ~ * {
  grid-column: span 1;
}

/* 3 buton varsa ilk 2 üstte, son altta tam genişlik */
.packets_desktop-actions > *:first-child:nth-last-child(3) ~ *:last-child {
  grid-column: 1 / -1;
}

.packets_desktop-btn {
  min-width: 110px !important;
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  border-radius: 10px !important;
  border: none !important;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  flex-shrink: 0;
  font-size: 14px !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  padding: 0 16px !important;
  line-height: 1 !important;
  text-align: center !important;
  white-space: nowrap !important;
  overflow: hidden !important;
}

.packets_desktop-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.packets_desktop-btn:active {
  transform: scale(0.95) !important;
}

.packets_desktop-btn i {
  font-size: 16px !important;
  line-height: 1 !important;
  flex-shrink: 0;
}

.packets_desktop-btn-primary {
  background: linear-gradient(135deg, #FFA305 0%, #ff8c00 100%) !important;
  color: white !important;
}

.packets_desktop-btn-success {
  background: linear-gradient(135deg, #28a745 0%, #218838 100%) !important;
  color: white !important;
}

.packets_desktop-btn-secondary {
  background: linear-gradient(135deg, #6c757d 0%, #545b62 100%) !important;
  color: white !important;
}

.packets_desktop-btn-ghost {
  background: white !important;
  color: #FFA305 !important;
  border: 2px solid #FFA305 !important;
}

.packets_desktop-btn-ghost:hover {
  background: #FFA305 !important;
  color: white !important;
}

/* Time Badge Classes */
.packets_time-success {
  background: linear-gradient(135deg, #28a745 0%, #218838 100%);
}

.packets_time-warning {
  background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
  color: #212529;
}

.packets_time-danger {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

/* ========================================
   MOBILE VIEW - Modern Card Design
   ======================================== */
@media (max-width: 768px) {
  .packets_container {
    padding: 0;
    border-radius: 12px !important;
    margin-bottom: 8px;
    background: white !important;
  }

  .packets_desktop-view {
    display: none;
  }

  .packets_mobile-view {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    box-shadow: 
      6px 0 20px rgba(255, 163, 5, 0.25),
      -6px 0 20px rgba(255, 163, 5, 0.25),
      0 4px 15px rgba(0, 0, 0, 0.1),
      0 8px 25px rgba(255, 163, 5, 0.3);
  }
  
  /* Sol ve sağ dekoratif şeritler */
  .packets_mobile-view::before,
  .packets_mobile-view::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, 
      rgba(255, 163, 5, 0) 0%,
      rgba(255, 163, 5, 0.8) 20%,
      rgba(255, 163, 5, 1) 50%,
      rgba(255, 163, 5, 0.8) 80%,
      rgba(255, 163, 5, 0) 100%
    );
    z-index: 10;
  }
  
  .packets_mobile-view::before {
    left: 0;
  }
  
  .packets_mobile-view::after {
    right: 0;
  }

  /* Mobile Header */
  .packets_mobile-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: linear-gradient(135deg, #FFA305 0%, #ff8c00 100%);
    border-radius: 12px 12px 0 0;
    position: relative;
    overflow: hidden;
    min-height: 68px;
  }

  .packets_mobile-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
  }

  .packets_mobile-logo {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
    z-index: 1;
  }

  .packets_mobile-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .packets_mobile-logo-icon {
    font-size: 20px;
    color: #FFA305;
  }

  .packets_mobile-order-info {
    flex: 1;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 44px;
    justify-content: center;
  }

  .packets_mobile-order-row {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .packets_mobile-order-number {
    font-size: 14px;
    font-weight: 700;
    color: white;
    letter-spacing: -0.3px;
    line-height: 1.2;
  }

  .packets_mobile-order-code {
    font-size: 10px;
    color: rgba(0, 0, 0, 0.85);
    font-weight: 600;
    padding: 3px 8px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 6px;
    backdrop-filter: blur(5px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
  }

  /* Status badge inside header */
  .packets_mobile-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 9px;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    align-self: flex-start;
    line-height: 1.3;
  }

  .packets_mobile-status-badge i {
    font-size: 10px;
  }

  .packets_mobile-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    padding: 6px 8px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 10px;
    backdrop-filter: blur(10px);
    z-index: 1;
    min-width: 44px;
    min-height: 44px;
    line-height: 1.2;
  }

  .packets_mobile-time i {
    font-size: 11px;
  }

  .packets_mobile-time.packets_time-success {
    background: rgba(40, 167, 69, 0.95);
    color: white;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
  }

  .packets_mobile-time.packets_time-warning {
    background: rgba(255, 193, 7, 0.95);
    color: #212529;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
  }

  .packets_mobile-time.packets_time-danger {
    background: rgba(220, 53, 69, 0.95);
    color: white;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
  }

  /* Mobile Print Button in Header */
  .packets_mobile-print-btn {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
    z-index: 1;
  }

  .packets_mobile-print-btn i {
    font-size: 16px;
    color: #FFA305;
  }

  .packets_mobile-print-btn:active {
    transform: scale(0.95);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  }

  .packets_status-none,
  .packets_status- {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #495057;
    border: 2px solid #dc3545;
  }

  .packets_status-rejected {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
  }

  .packets_status-approved {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    color: #212529;
  }

  .packets_status-ready {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: white;
  }

  .packets_status-ondelivery {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
  }

  .packets_status-delivered {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: white;
  }

  /* Mobile Section */
  .packets_mobile-section {
    padding: 8px 12px;
    background: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .packets_mobile-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .packets_mobile-info-item {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    background: #f8f9fa;
    padding: 8px;
    border-radius: 8px;
  }

  .packets_mobile-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: linear-gradient(135deg, #FFA305 0%, #ff8c00 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
  }

  .packets_mobile-info-content {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
    min-width: 0;
  }

  .packets_mobile-label {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    color: #6c757d;
    letter-spacing: 0.3px;
  }

  .packets_mobile-value {
    font-size: 12px;
    font-weight: 600;
    color: #212529;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Mobile Payment */
  .packets_mobile-payment {
    padding: 12px;
    background: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .packets_mobile-payment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    min-height: 52px;
  }

  .packets_mobile-payment-item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 28px;
  }

  .packets_mobile-payment-item i {
    font-size: 14px;
    color: #ffc107;
  }

  .packets_mobile-amount {
    font-size: 15px;
    font-weight: 700;
    color: #212529;
  }

  .packets_mobile-payment-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
  }

  .packets_mobile-payment-method {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: white;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #495057;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    min-height: 28px;
  }

  .packets_mobile-payment-method i {
    font-size: 13px;
    color: #FFA305;
  }

  .packets_mobile-payment-time {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 163, 5, 0.05);
    border-radius: 8px;
    font-size: 11px;
    color: #6c757d;
    font-weight: 500;
    min-height: 28px;
  }

  .packets_mobile-payment-time i {
    color: #FFA305;
    font-size: 12px;
  }

  /* Mobile Actions */
  .packets_mobile-actions {
    flex-flow: wrap;
    padding: 10px 12px;
    background: white;
    display: flex;
    gap: 6px;
    border-radius: 0 0 12px 12px;
    position: relative;
  }
  
  /* Alt glow efekti */
  .packets_mobile-actions::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 10%;
    right: 10%;
    height: 12px;
    background: radial-gradient(ellipse at center, rgba(255, 163, 5, 0.5) 0%, rgba(255, 163, 5, 0.3) 40%, transparent 70%);
    filter: blur(8px);
    border-radius: 50%;
    z-index: -1;
  }

  .packets_mobile-btn {
    flex: 1;
    min-width: 100px;
    ;
    padding: 10px !important;
    border-radius: 10px !important;
    border: none !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px;
    min-height: 52px !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }

  .packets_mobile-btn i {
    font-size: 18px;
  }

  .packets_mobile-btn span {
    font-size: 10px;
    font-weight: 600;
  }

  .packets_mobile-btn:active {
    transform: scale(0.96);
  }

  .packets_mobile-btn-primary {
    background: linear-gradient(135deg, #FFA305 0%, #ff8c00 100%) !important;
    color: white !important;
    box-shadow: 0 2px 8px rgba(255, 163, 5, 0.3) !important;
    flex: 2;
  }

  .packets_mobile-btn-primary:active {
    box-shadow: 0 1px 4px rgba(255, 163, 5, 0.3) !important;
  }

  .packets_mobile-btn-close {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
    color: white !important;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.3) !important;
    flex: 2;
  }

  .packets_mobile-btn-close:active {
    box-shadow: 0 1px 4px rgba(13, 110, 253, 0.3) !important;
  }

  .packets_mobile-btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #545b62 100%) !important;
    color: white !important;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3) !important;
  }

  .packets_mobile-btn-secondary:active {
    box-shadow: 0 1px 4px rgba(108, 117, 125, 0.3) !important;
  }

  .packets_mobile-btn-ghost {
    background: white !important;
    color: #FFA305 !important;
    border: 2px solid #FFA305 !important;
    box-shadow: 0 1px 4px rgba(255, 163, 5, 0.1) !important;
    flex: 0 0 52px;
  }

  .packets_mobile-btn-ghost:active {
    background: #f8f9fa;
  }

  .packets_mobile-btn-ghost i {
    font-size: 20px;
  }
}

/* ========================================
   TABLET ADJUSTMENTS
   ======================================== */
@media (max-width: 1280px) {
  .packets_desktop-view {
    gap: 8px;
    padding: 4px;
  }

  .packets_desktop-platform {
    flex: 0 0 140px;
  }

  .packets_platform-logo {
    width: 72px;
    height: 72px;
  }

  .packets_platform-order {
    font-size: 15px;
  }

  .packets_desktop-customer {
    flex: 1 1 130px;
  }

  .packets_desktop-payment {
    flex: 0 0 160px;
  }

  .packets_desktop-time {
    flex: 0 0 120px;
  }

  .packets_desktop-actions {
    flex: 0 0 440px;
    min-width: 100%;
  }

  .packets_desktop-btn {
    min-width: 100px !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    font-size: 13px !important;
    padding: 0 12px !important;
  }
}

@media (max-width: 1024px) {
  .packets_desktop-view {
    gap: 10px;
    padding: 4px;
  }

  .packets_desktop-platform {
    flex: 0 0 130px;
  }

  .packets_desktop-time {
    display: none;
  }

  .packets_platform-logo {
    width: 62px;
    height: 62px;
  }

  .packets_desktop-customer {
    flex: 1 1 120px;
  }

  .packets_desktop-payment {
    flex: 0 0 140px;
    font-size: 12px;
  }

  .packets_payment-amount {
    font-size: 14px;
  }

  .packets_desktop-actions {
    flex: 0 0 380px;
    min-width: 100%;
  }

  .packets_desktop-btn {
    min-width: 90px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    font-size: 12px !important;
    padding: 0 10px !important;
  }

  .packets_desktop-btn i {
    font-size: 14px !important;
  }
}

/* ========================================
   SMALL MOBILE ADJUSTMENTS
   ======================================== */
@media (max-width: 380px) {
  .packets_mobile-header {
    padding: 8px 10px;
  }

  .packets_mobile-logo {
    width: 40px;
    height: 40px;
  }

  .packets_mobile-order-number {
    font-size: 14px;
  }

  .packets_mobile-order-code {
    font-size: 10px;
  }

  .packets_mobile-info-grid {
    grid-template-columns: 1fr;
  }

  .packets_mobile-payment-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .packets_mobile-actions {
    padding: 8px 10px;
    gap: 5px;
  }

  .packets_mobile-btn {
    padding: 8px !important;
    min-height: 48px !important;
    min-width: 90px;
  }

  .packets_mobile-btn span {
    font-size: 9px;
  }

  .packets_mobile-btn i {
    font-size: 16px;
  }
}
.modern-table-container {
  width: 100%;
  margin: 20px 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
}

/* Active Filters Bar */
.active-filters-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  margin-bottom: 12px;
  border-radius: 8px;
  flex-wrap: wrap;
}

.modern-table-container.light .active-filters-bar {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.modern-table-container.dark .active-filters-bar {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.filter-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.modern-table-container.light .filter-info {
  color: #1e40af;
}

.modern-table-container.dark .filter-info {
  color: #93c5fd;
}

.active-filters-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}

.filter-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 13px;
}

.modern-table-container.light .filter-chip {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
}

.modern-table-container.dark .filter-chip {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e2e8f0;
}

.filter-chip-label {
  font-weight: 500;
}

.filter-chip-remove {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 3px;
}

.modern-table-container.light .filter-chip-remove {
  color: #64748b;
}

.modern-table-container.light .filter-chip-remove:hover {
  background: #f1f5f9;
  color: #1e293b;
}

.modern-table-container.dark .filter-chip-remove {
  color: #94a3b8;
}

.modern-table-container.dark .filter-chip-remove:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
}

.clear-all-filters-btn {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.modern-table-container.light .clear-all-filters-btn {
  background: #2563eb;
  color: #ffffff;
}

.modern-table-container.light .clear-all-filters-btn:hover {
  background: #1d4ed8;
}

.modern-table-container.dark .clear-all-filters-btn {
  background: #3b82f6;
  color: #ffffff;
}

.modern-table-container.dark .clear-all-filters-btn:hover {
  background: #2563eb;
}

.modern-table-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Light Mode */
.modern-table-container.light .modern-table-wrapper {
  background: #ffffff;
  border: 1px solid #e5e7eb;
}

.modern-table-container.light .modern-table {
  background: #ffffff;
  color: #111827;
}

.modern-table-container.light .modern-table thead {
  background: #f9fafb;
  border-bottom: 2px solid #e5e7eb;
}

.modern-table-container.light .modern-table th {
  color: #374151;
  border-bottom: 1px solid #e5e7eb;
}

.modern-table-container.light .modern-table tbody tr {
  border-bottom: 1px solid #f3f4f6;
}

.modern-table-container.light .modern-table tbody tr:hover {
  background: #f9fafb;
}

.modern-table-container.light .modern-table td {
  color: #1f2937;
}

/* Dark Mode */
.modern-table-container.dark .modern-table-wrapper {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-table-container.dark .modern-table {
  background: #1e293b;
  color: #f8fafc;
}

.modern-table-container.dark .modern-table thead {
  background: #334155;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.modern-table-container.dark .modern-table th {
  color: #f1f5f9;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-table-container.dark .modern-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modern-table-container.dark .modern-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

.modern-table-container.dark .modern-table td {
  color: #e2e8f0;
}

/* Table Styles */
.modern-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}

.modern-table thead tr {
  position: sticky;
  top: 0;
  z-index: 10;
}

.modern-table th {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
}

.modern-table th.filter-active {
  padding-bottom: 60px;
}

.modern-table th.sortable {
  cursor: pointer;
  user-select: none;
}

.modern-table th.sortable:hover .header-content {
  opacity: 0.7;
}

.modern-table th .header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
}

.modern-table th .header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.modern-table th .sort-indicator {
  font-size: 14px;
  font-weight: bold;
  opacity: 0.8;
}

/* Filter Styles */
.filter-toggle {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.filter-toggle:hover {
  opacity: 1;
}

.filter-toggle.has-filter {
  opacity: 1;
}

.modern-table-container.light .filter-toggle {
  color: #374151;
}

.modern-table-container.dark .filter-toggle {
  color: #e2e8f0;
}

.modern-table-container.light .filter-toggle.has-filter {
  color: #2563eb;
}

.modern-table-container.dark .filter-toggle.has-filter {
  color: #3b82f6;
}

.filter-container {
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 5;
}

.filter-input {
  flex: 1;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13px;
  border: 1px solid;
  outline: none;
  font-weight: normal;
  text-transform: none;
  letter-spacing: normal;
}

.modern-table-container.light .filter-input {
  background: #ffffff;
  border-color: #d1d5db;
  color: #111827;
}

.modern-table-container.light .filter-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

.modern-table-container.dark .filter-input {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.2);
  color: #f8fafc;
}

.modern-table-container.dark .filter-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.filter-input::placeholder {
  opacity: 0.5;
}

.clear-filter-btn {
  background: none;
  border: none;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
}

.modern-table-container.light .clear-filter-btn {
  color: #6b7280;
}

.modern-table-container.light .clear-filter-btn:hover {
  background: #f3f4f6;
  color: #111827;
}

.modern-table-container.dark .clear-filter-btn {
  color: #9ca3af;
}

.modern-table-container.dark .clear-filter-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #f8fafc;
}

.modern-table td {
  padding: 14px 20px;
  font-size: 14px;
  line-height: 1.5;
}

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

.modern-table .no-data {
  text-align: center;
  padding: 60px 20px;
  font-size: 15px;
  opacity: 0.6;
}

/* Pagination */
.modern-table-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
}

.modern-table-container.light .modern-table-pagination {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  color: #374151;
}

.modern-table-container.dark .modern-table-pagination {
  background: #334155;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #e2e8f0;
}

.pagination-info {
  font-size: 14px;
  font-weight: 500;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.rows-per-page-select {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  outline: none;
}

.modern-table-container.light .rows-per-page-select {
  background: #ffffff;
  border: 1px solid #d1d5db;
  color: #111827;
}

.modern-table-container.dark .rows-per-page-select {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f8fafc;
}

.page-buttons {
  display: flex;
  gap: 6px;
  align-items: center;
}

.page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modern-table-container.light .page-btn {
  background: #ffffff;
  border: 1px solid #d1d5db;
  color: #374151;
}

.modern-table-container.light .page-btn:hover:not(:disabled) {
  background: #f3f4f6;
  border-color: #9ca3af;
}

.modern-table-container.light .page-btn.active {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

.modern-table-container.light .page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.modern-table-container.dark .page-btn {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e2e8f0;
}

.modern-table-container.dark .page-btn:hover:not(:disabled) {
  background: #334155;
  border-color: rgba(255, 255, 255, 0.3);
}

.modern-table-container.dark .page-btn.active {
  background: #3b82f6;
  border-color: #3b82f6;
  color: #ffffff;
}

.modern-table-container.dark .page-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.page-dots {
  padding: 0 4px;
  color: inherit;
  opacity: 0.5;
}

/* Excel Export Button */
.excel-export-btn {
  width: 100%;
  padding: 14px 24px;
  margin-top: 20px;
  border: none;
  border-radius: 8px;
  background: #16a34a;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  outline: none;
}

.excel-export-btn:hover:not(:disabled) {
  background: #15803d;
}

.excel-export-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.excel-export-btn i {
  font-size: 16px;
}

/* Infinite Scroll */
.infinite-scroll-trigger {
  min-height: 40px;
  padding: 20px;
  text-align: center;
}

.loading-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
}

.modern-table-container.light .loading-indicator {
  color: #2563eb;
}

.modern-table-container.dark .loading-indicator {
  color: #3b82f6;
}

.loading-indicator i {
  font-size: 18px;
}

.end-message {
  font-size: 14px;
  font-weight: 500;
  padding: 12px;
}

.modern-table-container.light .end-message {
  color: #6b7280;
}

.modern-table-container.dark .end-message {
  color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
  .active-filters-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .filter-info {
    justify-content: center;
  }

  .active-filters-list {
    justify-content: center;
  }

  .clear-all-filters-btn {
    width: 100%;
  }

  .modern-table-wrapper {
    border-radius: 8px;
  }

  .modern-table th,
  .modern-table td {
    padding: 12px 14px;
    font-size: 13px;
  }

  .modern-table th {
    font-size: 11px;
  }

  .modern-table th.filter-active {
    padding-bottom: 55px;
  }

  .filter-input {
    font-size: 12px;
    padding: 6px 8px;
  }

  .filter-toggle svg {
    width: 12px;
    height: 12px;
  }

  .modern-table-pagination {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .pagination-info {
    text-align: center;
    font-size: 13px;
  }

  .pagination-controls {
    flex-direction: column;
    gap: 12px;
  }

  .page-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .rows-per-page-select {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .modern-table th,
  .modern-table td {
    padding: 10px 12px;
    font-size: 12px;
  }

  .modern-table th {
    font-size: 10px;
  }

  .modern-table th.filter-active {
    padding-bottom: 50px;
  }

  .filter-chip {
    font-size: 12px;
    padding: 3px 6px;
  }

  .clear-all-filters-btn {
    font-size: 12px;
    padding: 5px 10px;
  }

  .page-btn {
    min-width: 32px;
    height: 32px;
    font-size: 13px;
  }
}

/* Scrollbar Styling */
.modern-table-wrapper::-webkit-scrollbar {
  height: 8px;
}

.modern-table-container.light .modern-table-wrapper::-webkit-scrollbar-track {
  background: #f3f4f6;
  border-radius: 4px;
}

.modern-table-container.light .modern-table-wrapper::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}

.modern-table-container.light .modern-table-wrapper::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

.modern-table-container.dark .modern-table-wrapper::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.modern-table-container.dark .modern-table-wrapper::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.modern-table-container.dark .modern-table-wrapper::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ========================================
   Modern Confirm Dialog - Ultra 2026 Design
   ======================================== */

.confirm-dialog_overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 16px;
  animation: confirm-dialog_fadeIn 0.2s ease;
}

@keyframes confirm-dialog_fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.confirm-dialog_container {
  background: white;
  border-radius: 20px;
  padding: 32px 24px 24px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: confirm-dialog_slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

@keyframes confirm-dialog_slideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.confirm-dialog_icon-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  animation: confirm-dialog_iconPop 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes confirm-dialog_iconPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.confirm-dialog_icon-wrapper i {
  font-size: 64px;
}

.confirm-dialog_icon-warning {
  color: #FFA305;
  filter: drop-shadow(0 4px 8px rgba(255, 163, 5, 0.3));
}

.confirm-dialog_icon-danger {
  color: #dc3545;
  filter: drop-shadow(0 4px 8px rgba(220, 53, 69, 0.3));
}

.confirm-dialog_icon-success {
  color: #28a745;
  filter: drop-shadow(0 4px 8px rgba(40, 167, 69, 0.3));
}

.confirm-dialog_icon-info {
  color: #007bff;
  filter: drop-shadow(0 4px 8px rgba(0, 123, 255, 0.3));
}

.confirm-dialog_content {
  text-align: center;
  margin-bottom: 28px;
}

.confirm-dialog_title {
  font-size: 24px;
  font-weight: 700;
  color: #212529;
  margin: 0 0 12px 0;
  letter-spacing: -0.5px;
}

.confirm-dialog_message {
  font-size: 16px;
  color: #6c757d;
  margin: 0;
  line-height: 1.6;
}

.confirm-dialog_message strong,
.confirm-dialog_message b {
  color: #212529;
  font-weight: 700;
}

.confirm-dialog_message em,
.confirm-dialog_message i {
  font-style: italic;
}

.confirm-dialog_input-wrapper {
  margin-top: 20px;
  text-align: left;
}

.confirm-dialog_input-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #495057;
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}

.confirm-dialog_input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 15px;
  color: #212529;
  transition: all 0.2s ease;
  outline: none;
  box-sizing: border-box;
}

.confirm-dialog_input:focus {
  border-color: #FFA305;
  box-shadow: 0 0 0 3px rgba(255, 163, 5, 0.1);
}

.confirm-dialog_input::placeholder {
  color: #adb5bd;
}

.confirm-dialog_input:required:invalid {
  border-color: #e9ecef;
}

.confirm-dialog_remember {
  padding: 16px 0 8px;
  border-top: 1px solid #e9ecef;
  margin-top: 20px;
}

.confirm-dialog_remember-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.confirm-dialog_remember-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #FFA305;
}

.confirm-dialog_remember-text {
  font-size: 14px;
  color: #495057;
  font-weight: 500;
}

.confirm-dialog_actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.confirm-dialog_btn {
  padding: 14px 24px;
  border-radius: 12px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.3px;
}

.confirm-dialog_btn:active {
  transform: scale(0.97);
}

.confirm-dialog_btn-cancel {
  background: #f8f9fa;
  color: #6c757d;
  border: 2px solid #e9ecef;
}

.confirm-dialog_btn-cancel:hover {
  background: #e9ecef;
  border-color: #dee2e6;
}

.confirm-dialog_btn-confirm {
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.confirm-dialog_btn-confirm:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

.confirm-dialog_btn-confirm:active {
  transform: translateY(0) scale(0.97);
}

.confirm-dialog_btn-warning {
  background: linear-gradient(135deg, #FFA305 0%, #ff8c00 100%);
}

.confirm-dialog_btn-danger {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.confirm-dialog_btn-success {
  background: linear-gradient(135deg, #28a745 0%, #218838 100%);
}

.confirm-dialog_btn-info {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

/* Mobile Optimization */
@media (max-width: 480px) {
  .confirm-dialog_container {
    padding: 28px 20px 20px;
    border-radius: 16px;
  }

  .confirm-dialog_icon-wrapper i {
    font-size: 56px;
  }

  .confirm-dialog_title {
    font-size: 20px;
  }

  .confirm-dialog_message {
    font-size: 14px;
  }

  .confirm-dialog_actions {
    grid-template-columns: 1fr;
  }

  .confirm-dialog_btn {
    padding: 12px 20px;
    font-size: 14px;
  }
}

/* Touch device optimization */
@media (hover: none) {
  .confirm-dialog_btn-cancel:hover {
    background: #f8f9fa;
    border-color: #e9ecef;
  }

  .confirm-dialog_btn-confirm:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: none;
  }
}

/* Closed Table Component - Modern 2026 Light Design */
.closedtable_detail_container {
  height: 100%;
  padding: 0;
  position: relative;
}

.closedtable_close_btn {
  display: none;
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: white;
  border: 2px solid #FFA305;
  color: #FFA305;
  font-size: 20px;
  cursor: pointer;
  z-index: 1001;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.closedtable_close_btn:hover {
  background: #FFA305;
  color: white;
  transform: scale(1.1);
}

@media (max-width: 1200px) {
  .closedtable_close_btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.closedtable_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 2px solid #e9ecef;
  background: #f8f9fa;
}

.closedtable_header_title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #2c3e50;
  font-size: 18px;
  font-weight: 600;
}

.closedtable_header_title i {
  color: #FFA305;
  font-size: 20px;
}

.closedtable_header_id {
  color: #95a5a6;
  font-size: 14px;
  font-weight: 500;
  background: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.closedtable_table_name {
  padding: 1.5rem;
  border-bottom: 2px solid #e9ecef;
}

.closedtable_table_name h2 {
  color: #2c3e50;
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}

.closedtable_details_section {
  padding: 1.5rem;
}

.closedtable_section_title {
  color: #6c757d;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  display: block;
}

.closedtable_details_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.closedtable_detail_box {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 1rem;
  transition: all 0.3s ease;
}

.closedtable_detail_box:hover {
  background: white;
  border-color: #FFA305;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 163, 5, 0.1);
}

.closedtable_detail_label {
  color: #6c757d;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.closedtable_detail_label i {
  color: #FFA305;
  font-size: 12px;
}

.closedtable_detail_value {
  color: #2c3e50;
  font-size: 14px;
  font-weight: 500;
}

.closedtable_note_badge {
  background: #fff3cd;
  border-left: 3px solid #FFA305;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin: 1rem 1.5rem;
  color: #856404;
  font-size: 13px;
}

.closedtable_note_badge b {
  color: #FFA305;
  margin-right: 0.5rem;
}

.closedtable_orders_section {
  padding: 1.5rem;
}

.closedtable_table_wrapper {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  overflow: hidden;
}

.closedtable_table {
  width: 100%;
  border-collapse: collapse;
}

.closedtable_table thead {
  background: #f8f9fa;
}

.closedtable_table thead th {
  padding: 1rem;
  text-align: left;
  color: #6c757d;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #e9ecef;
}

.closedtable_table tbody tr {
  border-bottom: 1px solid #e9ecef;
  transition: background 0.2s ease;
}

.closedtable_table tbody tr:hover {
  background: #f8f9fa;
}

.closedtable_table tbody td {
  padding: 1rem;
}

.closedtable_table tfoot {
  background: #fff3cd;
  border-top: 3px solid #FFA305;
}

.closedtable_table tfoot th {
  padding: 1rem;
  color: #2c3e50;
  font-size: 16px;
  font-weight: 700;
}

.closedtable_order_item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.closedtable_order_image {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid #e9ecef;
}

.closedtable_order_content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.closedtable_order_name {
  color: #2c3e50;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.closedtable_order_name del {
  color: #dc3545;
}

.closedtable_order_discount {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: #FFA305;
  font-size: 12px;
  font-weight: 600;
  background: #fff3cd;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  margin-left: 0.5rem;
}

.closedtable_order_meta {
  color: #6c757d;
  font-size: 12px;
  line-height: 1.6;
}

.closedtable_order_meta_cancelled {
  background: #f8d7da;
  color: #721c24;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  display: inline-block;
  margin-top: 0.25rem;
}

.closedtable_order_price {
  color: #2c3e50;
  font-size: 16px;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.closedtable_discount_row {
  background: #fff3cd !important;
}

.closedtable_discount_row td {
  color: #FFA305 !important;
  font-weight: 600 !important;
}

.closedtable_actions {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 1rem;
  padding: 1.5rem;
  border-top: 2px solid #e9ecef;
  background: #f8f9fa;
}

.closedtable_btn {
  height: 52px;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.closedtable_btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.closedtable_btn_print {
  background: #2c3e50;
  color: white;
  box-shadow: 0 2px 8px rgba(44, 62, 80, 0.2);
}

.closedtable_btn_print:hover:not(:disabled) {
  background: #1a252f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 62, 80, 0.3);
}

.closedtable_btn_delete {
  background: #dc3545;
  color: white;
  box-shadow: 0 2px 8px rgba(220, 53, 69, 0.2);
}

.closedtable_btn_delete:hover:not(:disabled) {
  background: #c82333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.closedtable_btn_reopen {
  background: linear-gradient(135deg, #FFA305 0%, #ff8a00 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 163, 5, 0.3);
}

.closedtable_btn_reopen:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 163, 5, 0.4);
}

.closedtable_spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: closedtable_spin 0.8s linear infinite;
}

@keyframes closedtable_spin {
  to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
  .closedtable_details_grid {
    grid-template-columns: 1fr;
  }
  
  .closedtable_actions {
    grid-template-columns: 1fr;
  }
  
  .closedtable_order_item {
    flex-direction: column;
  }
  
  .closedtable_order_price {
    text-align: left;
  }
}

/* Scrollbar - removed as section now expands naturally */

/* ========================================
   DARK THEME STYLES
   ======================================== */

.rm-dark .closedtable_header {
  background: rgba(255, 255, 255, 0.03);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.rm-dark .closedtable_header_title {
  color: white;
}

.rm-dark .closedtable_header_id {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

.rm-dark .closedtable_table_name {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.rm-dark .closedtable_table_name h2 {
  color: white;
}

.rm-dark .closedtable_section_title {
  color: rgba(255, 255, 255, 0.6);
}

.rm-dark .closedtable_detail_box {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

.rm-dark .closedtable_detail_box:hover {
  background: rgba(255, 255, 255, 0.05);
}

.rm-dark .closedtable_detail_label {
  color: rgba(255, 255, 255, 0.6);
}

.rm-dark .closedtable_detail_value {
  color: rgba(255, 255, 255, 0.9);
}

.rm-dark .closedtable_note_badge {
  background: rgba(41, 128, 185, 0.2);
  border-left-color: #2980b9;
  color: rgba(255, 255, 255, 0.8);
}

.rm-dark .closedtable_note_badge b {
  color: #3498db;
}

.rm-dark .closedtable_table_wrapper {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

.rm-dark .closedtable_table thead {
  background: rgba(255, 255, 255, 0.05);
}

.rm-dark .closedtable_table thead th {
  color: rgba(255, 255, 255, 0.6);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.rm-dark .closedtable_table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.rm-dark .closedtable_table tbody td {
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.rm-dark .closedtable_table tfoot {
  background: rgba(255, 163, 5, 0.1);
  border-top-color: rgba(255, 163, 5, 0.3);
}

.rm-dark .closedtable_table tfoot th {
  color: white;
}

.rm-dark .closedtable_order_image {
  border-color: rgba(255, 255, 255, 0.1);
}

.rm-dark .closedtable_order_name {
  color: white;
}

.rm-dark .closedtable_order_meta {
  color: rgba(255, 255, 255, 0.5);
}

.rm-dark .closedtable_order_meta_cancelled {
  background: rgba(231, 76, 60, 0.2);
  color: #e74c3c;
}

.rm-dark .closedtable_order_price {
  color: white;
}

.rm-dark .closedtable_discount_row {
  background: rgba(255, 163, 5, 0.1) !important;
}

.rm-dark .closedtable_actions {
  background: rgba(255, 255, 255, 0.03);
  border-top-color: rgba(255, 255, 255, 0.08);
}

.rm-dark .closedtable_btn_print {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.rm-dark .closedtable_btn_print:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.15);
}

.rm-dark .closedtable_btn_delete {
  background: rgba(220, 53, 69, 0.2);
  border: 2px solid #dc3545;
}

.rm-dark .closedtable_btn_delete:hover:not(:disabled) {
  background: #dc3545;
}
/* CashShiftComponent Dark Mode Styles */

/* Kart stilleri */
.cash-shift-card {
  background: #fff;
  border-radius: 8px;
  padding: 1rem;
  border: 1px solid #e5e5e5;

}

.rm-dark .cash-shift-card {
  background: #1f2937;
  border: 1px solid #374151;
}

/* Başlık stilleri */
.cash-shift-heading {
  color: #1a1a1a;
}

.rm-dark .cash-shift-heading {
  color: #f3f4f6;
}

/* Text stilleri */
.cash-shift-text {
  color: #666;
}

.rm-dark .cash-shift-text {
  color: #9ca3af;
}

.cash-shift-text-primary {
  color: #1a1a1a;
}

.rm-dark .cash-shift-text-primary {
  color: #f3f4f6;
}

/* Tablo stilleri */
.cash-shift-table {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e5e5e5;
}

.rm-dark .cash-shift-table {
  background: #1f2937;
  border: 1px solid #374151;
}

.cash-shift-table thead {
  background: #fff5f0;
  color: #1a1a1a;
}

.rm-dark .cash-shift-table thead {
  background: #111827;
  color: #f3f4f6;
}

.cash-shift-table tbody tr {
  border-bottom: 1px solid #f0f0f0;

}

.rm-dark .cash-shift-table tbody tr {
  border-bottom: 1px solid #374151;
}

.cash-shift-table tbody tr:hover {
  background: #fffbf8;
}

.rm-dark .cash-shift-table tbody tr:hover {
  background: #111827;
}

.cash-shift-table tfoot {
  background: #fff5f0;
  font-weight: 700;
}

.rm-dark .cash-shift-table tfoot {
  background: #111827;
}

/* Ana rapor container */
.cash-shift-report-container {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e5e5;

  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.rm-dark .cash-shift-report-container {
  background: #1f2937;
  border: 1px solid #374151;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Detay alanı */
.cash-shift-detail-area {
  padding: clamp(1rem, 3vw, 2rem);
  background: #fafafa;
  border-top: 1px solid #e5e5e5;
}

.rm-dark .cash-shift-detail-area {
  background: #111827;
  border-top: 1px solid #374151;
}

/* Kontrol kartları */
.cash-shift-control-card {
  background: #fff;
  border-radius: 8px;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid #e5e5e5;
}

.rm-dark .cash-shift-control-card {
  background: #1f2937;
  border: 1px solid #374151;
}

/* Özet kartları */
.cash-shift-summary-card {
  background: #fafafa;
  border-radius: 8px;
  padding: 1rem;
  border: 1px solid #e5e5e5;
}

.rm-dark .cash-shift-summary-card {
  background: #111827;
  border: 1px solid #374151;
}

/* Uyarı kartları */
.cash-shift-warning-card {
  background: #fff5f0;
  border-radius: 8px;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid #ffd4c2;
  text-align: center;
}

.rm-dark .cash-shift-warning-card {
  background: #1f2937;
  border: 1px solid #374151;
}
/* Native select styling (mobil) */
.language-picker-native {
  padding: 8px 12px;
  font-size: 16px; /* iOS zoom'u önlemek için */
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: white;
  cursor: pointer;
}

body.rm-dark .language-picker-native {
  background-color: rgba(40, 40, 45, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

body.rm-dark .language-picker-native option {
  background-color: #2a2a2f;
  color: #fff;
}

.language-picker-native:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
}

body.rm-dark .language-picker-native:focus {
  border-color: #FFCA40;
  box-shadow: 0 0 0 2px rgba(255, 202, 64, 0.2);
}

.language-picker-native:disabled {
  background-color: #f5f5f5;
  cursor: not-allowed;
  opacity: 0.6;
}

body.rm-dark .language-picker-native:disabled {
  background-color: rgba(30, 30, 35, 0.95);
}

/* react-select custom styles (desktop) */
.language-picker .language-picker__control {
  border: 1px solid #ddd;
  border-radius: 4px;
  min-height: 38px;
  cursor: pointer;
}

body.rm-dark .language-picker .language-picker__control {
  background-color: rgba(40, 40, 45, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.language-picker .language-picker__control:hover {
  border-color: #999;
}

body.rm-dark .language-picker .language-picker__control:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.language-picker .language-picker__control--is-focused {
  border-color: #007bff;
  box-shadow: 0 0 0 1px #007bff;
}

body.rm-dark .language-picker .language-picker__control--is-focused {
  border-color: #FFCA40;
  box-shadow: 0 0 0 1px #FFCA40;
}

.language-picker .language-picker__menu {
  z-index: 9999;
}

body.rm-dark .language-picker .language-picker__menu {
  background-color: rgba(30, 30, 35, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

body.rm-dark .language-picker .language-picker__single-value {
  color: #fff;
}

body.rm-dark .language-picker .language-picker__placeholder {
  color: rgba(255, 255, 255, 0.6);
}

body.rm-dark .language-picker .language-picker__input-container {
  color: #fff;
}

body.rm-dark .language-picker .language-picker__indicator {
  color: rgba(255, 255, 255, 0.6);
}

body.rm-dark .language-picker .language-picker__indicator:hover {
  color: #fff;
}

body.rm-dark .language-picker .language-picker__indicator-separator {
  background-color: rgba(255, 255, 255, 0.2);
}

.language-picker .language-picker__option {
  cursor: pointer;
  padding: 8px 12px;
}

body.rm-dark .language-picker .language-picker__option {
  background-color: rgba(30, 30, 35, 0.98);
  color: #fff;
}

.language-picker .language-picker__option--is-focused {
  background-color: #f0f8ff;
}

body.rm-dark .language-picker .language-picker__option--is-focused {
  background-color: rgba(255, 202, 64, 0.15);
}

.language-picker .language-picker__option--is-selected {
  background-color: #e7f3ff;
  color: #333;
  font-weight: 600;
}

body.rm-dark .language-picker .language-picker__option--is-selected {
  background-color: rgba(255, 202, 64, 0.25);
  color: #fff;
  font-weight: 600;
}

.language-picker .language-picker__option--is-selected:hover {
  background-color: #d0e7ff;
}

body.rm-dark .language-picker .language-picker__option--is-selected:hover {
  background-color: rgba(255, 202, 64, 0.35);
}
/* Calls Page - Modern 2026 Design */
.calls_container {
  min-height: 100vh;
  padding: clamp(1rem, 3vw, 2rem);
}
.calls_content {
  max-width: 1600px;
  margin: 0 auto;
}
.calls_header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.calls_header_left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.calls_menu_btn {
  background: #fff;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  padding: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
}
.calls_menu_btn:hover {
  border-color: #FFA305;
  color: #FFA305;
}
.calls_title_wrapper
.calls_title_divider {
  width: 60px;
  height: 4px;
  background: #FFA305;
  margin-top: 1rem;
  border-radius: 2px;
}
.calls_view_toggle {
  display: flex;
  gap: 0.5rem;
  background: #fff;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  padding: 0.25rem;
}
.calls_view_btn {
  padding: 0.75rem;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.calls_view_btn.active {
  background: #FFA305;
  color: #fff;
}
.calls_view_btn:not(.active):hover {
  background: #f5f5f5;
}
.calls_new_btn {
  padding: 1rem 2rem;
  background: #FFA305;
  border: 1px solid black;
  border-radius: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 0.9375rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.05em;
}
.calls_new_btn:hover {
  background: #27ae60;
}
.calls_search_wrapper {
  margin-bottom: 1.5rem;
  position: relative;
  max-width: 500px;
}
.calls_search_icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  color: #999;
  pointer-events: none;
}
.calls_search_input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  outline: none;
  box-sizing: border-box;
  background: #fff;
  color: #1a1a1a;
}
.calls_search_input:focus {
  border-color: #FFA305;
  box-shadow: 0 0 0 3px rgba(255, 163, 5, 0.1);
}
.calls_search_clear {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  background: #dc3545;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.calls_search_clear:hover {
  background: #c82333;
}
.calls_card {
  background: #fff;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  padding: 1.5rem;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
}
.calls_card:hover {
  border-color: #FFA305;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.calls_card_header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.calls_card_icon {
  width: 40px;
  height: 40px;
  background: #1a1a1a;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFA305;
}
.calls_card_actions {
  display: flex;
  gap: 0.5rem;
}
.calls_card_btn {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.calls_card_btn.edit {
  background: #fff3cd;
  color: #856404;
}
.calls_card_btn.edit:hover {
  background: #ffc107;
  color: #fff;
}
.calls_card_btn.cart {
  background: #d1ecf1;
  color: #0c5460;
}
.calls_card_btn.cart:hover {
  background: #17a2b8;
  color: #fff;
}
.calls_card_body {
  flex: 1;
}
.calls_card_name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.5rem 0;
}
.calls_card_info {
  color: #666;
  margin: 0.375rem 0;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.calls_card_address {
  color: #666;
  font-size: 0.875rem;
  margin-top: 0.75rem;
  line-height: 1.5;
}
.calls_card_footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid #f5f5f5;
}
.calls_card_time {
  display: flex;
  gap: 0.5rem;
}
.calls_card_date,
.calls_card_hour {
  background: #f8f9fa;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #495057;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.calls_grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.calls_pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}
.calls_pagination_btn {
  padding: 0.75rem 1.5rem;
  background: #fff;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  color: #1a1a1a;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.calls_pagination_btn:hover:not(:disabled) {
  border-color: #FFA305;
  background: #FFA305;
  color: #fff;
}
.calls_pagination_btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.calls_download_btn {
  margin-top: 2rem;
  padding: 1rem 2rem;
  background: #17a2b8;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  letter-spacing: 0.05em;
}
.calls_download_btn:hover {
  background: #138496;
}
.calls_loading_overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.calls_loading_content {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
}
.calls_spinner {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #FFA305;
  border-radius: 50%;
}

/* Dark Theme */
.rm-dark .calls_container {
  background: #30353c;
}
.rm-dark .calls_menu_btn,
.rm-dark .calls_view_toggle,
.rm-dark .calls_card,
.rm-dark .calls_search_input,
.rm-dark .calls_pagination_btn,
.rm-dark .calls_loading_content {
  background: #3a3f47;
  border-color: #4a4f57;
  color: #ffffff;
}
.rm-dark .calls_menu_btn:hover {
  border-color: #FFA305;
}
.rm-dark .calls_title_wrapper h1,
.rm-dark .calls_card_name {
  color: #ffffff;
}
.rm-dark .calls_card_info,
.rm-dark .calls_card_address {
  color: rgba(255, 255, 255, 0.7);
}
.rm-dark .calls_card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.rm-dark .calls_view_btn:not(.active):hover {
  background: #2a2f36;
}
.rm-dark .calls_card_icon {
  background: #2a2f36;
}
.rm-dark .calls_card_date,
.rm-dark .calls_card_hour {
  background: #2a2f36;
  color: rgba(255, 255, 255, 0.7);
}
.rm-dark .calls_card_footer {
  border-top-color: #4a4f57;
}
/* Responsive */
@media (max-width: 768px) {
  .calls_header {
    flex-direction: column;
  }
  .calls_grid {
    grid-template-columns: 1fr;
  }
  .calls_new_btn {
    width: 100%;
    justify-content: center;
  }
}
.rbc-btn {
  color: inherit;
  font: inherit;
  margin: 0;
}
button.rbc-btn {
  overflow: visible;
  text-transform: none;
  -webkit-appearance: button;
  cursor: pointer;
}
button[disabled].rbc-btn {
  cursor: not-allowed;
}
button.rbc-input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
.rbc-calendar {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
}
.rbc-calendar *,
.rbc-calendar *:before,
.rbc-calendar *:after {
  -webkit-box-sizing: inherit;
          box-sizing: inherit;
}
.rbc-abs-full, .rbc-row-bg {
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.rbc-ellipsis, .rbc-show-more, .rbc-row-segment .rbc-event-content, .rbc-event-label {
    margin-left: 2px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rbc-rtl {
  direction: rtl;
}
.rbc-off-range button{
  background-color: #f6f7fb;
  opacity: 0.3;
}
.rbc-off-range-bg {
  background: white;
}
.rbc-header {
  overflow: hidden;
  -webkit-box-flex: 1;
      -ms-flex: 1 0 0%;
          flex: 1 0 0%;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 10px 3px 10px 3px;
  text-align: center;
  vertical-align: middle;
  font-weight: bold;
  font-size: 90%;
  min-height: 0;
  color:#6C757D;
  border-bottom: 2px solid #6C757D;
}
.rbc-header + .rbc-header {
  border-left: 1px solid #ddd;
}
.rbc-rtl .rbc-header + .rbc-header {
  border-left-width: 0;
  border-right: 1px solid #ddd;
}
.rbc-header > a, .rbc-header > a:active, .rbc-header > a:visited {
  color: inherit;
  text-decoration: none;
}
.rbc-button-link {
    float: right;
    height: 25px;
    width: 25px;
    text-align: center;
    line-height: 25px;
    background-color: #f6f7fb;
    border-radius: 50%;
    margin: 5px;
    font-size: 11px;
    border: none;
    padding: 0 !important;
}
.rbc-row-content {
  position: relative;
  -moz-user-select: none;
   -ms-user-select: none;
       user-select: none;
  -webkit-user-select: none;
  z-index: 4;
}
.rbc-row-content-scrollable {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  height: 100%;
}
.rbc-row-content-scrollable .rbc-row-content-scroll-container {
  height: 100%;
  overflow-y: scroll;
  /* Hide scrollbar for Chrome, Safari and Opera */
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
.rbc-row-content-scrollable .rbc-row-content-scroll-container::-webkit-scrollbar {
  display: none;
}
.rm-dark .rbc-today {
    /* background-color:#27ae60; */
    background-color:var(--rm-dark1);
}
.rbc-today {
    /* background-color:#27ae60; */
    background-color:#ececec;
}
.rbc-toolbar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 10px;
  font-size: 16px;
}
.rbc-toolbar .rbc-toolbar-label {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
          font-size: 1.5rem;
          line-height: 1.9;
          font-weight: bold;
  padding: 0 10px;
  text-align: center;
}
.rbc-toolbar button {
  color: #373a3c;
  display: inline-block;
  margin: 0;
  text-align: center;
  vertical-align: middle;
  background: none;
  background-image: none;
  border: none;
  padding: 0.375rem 1rem;
  border-radius: 3px;
  line-height: normal;
  white-space: nowrap;
}
.rbc-toolbar button:active, .rbc-toolbar button.rbc-active {
  background-image: none;
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
          box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  background-color: #2980b9;
  border: none;
}
.rbc-toolbar button:active:hover, .rbc-toolbar button:active:focus, .rbc-toolbar button.rbc-active:hover, .rbc-toolbar button.rbc-active:focus {
    color: white;
    background-color: #2980b9;
  border: none;
}
.rbc-toolbar button:focus {
  color: #373a3c;
  background-color: #e6e6e6;
}
.rbc-toolbar button:hover {
    color: white;
    background-color: #2980b9;
}
.rbc-btn-group {
  display: inline-block;
  white-space: nowrap;
}
.rbc-btn-group button{
  background-color: #f39c12;
  color:white;
}
.rbc-btn-group > button:first-child:not(:last-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.rbc-btn-group > button:last-child:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.rbc-rtl .rbc-btn-group > button:first-child:not(:last-child) {
  border-radius: 4px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.rbc-rtl .rbc-btn-group > button:last-child:not(:first-child) {
  border-radius: 4px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.rbc-btn-group > button:not(:first-child):not(:last-child) {
  border-radius: 0;
}
.rbc-btn-group button + button {
  margin-left: -1px;
}
.rbc-rtl .rbc-btn-group button + button {
  margin-left: 0;
  margin-right: -1px;
}
.rbc-btn-group + .rbc-btn-group, .rbc-btn-group + button {
  margin-left: 10px;
}
@media (max-width: 767px) {
  .rbc-toolbar {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
.rbc-event, .rbc-day-slot .rbc-background-event {
  border: none;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-box-shadow: none;
          box-shadow: none;
  margin: 0;
  padding: 2px 5px;
  background-color: #f39c12;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  width: 100%;
  text-align: left;
}
.rbc-slot-selecting .rbc-event, .rbc-slot-selecting .rbc-day-slot .rbc-background-event, .rbc-day-slot .rbc-slot-selecting .rbc-background-event {
  cursor: inherit;
  pointer-events: none;
}
.rbc-event.rbc-selected, .rbc-day-slot .rbc-selected.rbc-background-event {
  background-color: #265985;
}
.rbc-event:focus, .rbc-day-slot .rbc-background-event:focus {
  outline: 5px auto #3b99fc;
}
.rbc-event-label {
  font-size: 80%;
}
.rbc-event-overlaps {
  -webkit-box-shadow: -1px 1px 5px 0px rgba(51, 51, 51, 0.5);
          box-shadow: -1px 1px 5px 0px rgba(51, 51, 51, 0.5);
}
.rbc-event-continues-prior {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.rbc-event-continues-after {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.rbc-event-continues-earlier {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.rbc-event-continues-later {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.rbc-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
}
.rbc-row-segment {
  padding: 4px;
}
.rbc-selected-cell {
  background-color: rgba(0, 0, 0, 0.1);
}
.rbc-show-more {
  background-color: rgba(255, 255, 255, 0.3);
  z-index: 4;
  font-weight: bold;
  font-size: 85%;
  height: auto;
  line-height: normal;
  color: #3174ad;
}
.rbc-show-more:hover, .rbc-show-more:focus {
  color: #265985;
}
.rbc-month-view {
  position: relative;
  border: 1px solid #ddd;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-flex: 1;
      -ms-flex: 1 0 0px;
          flex: 1 0 0;
  width: 100%;
  -moz-user-select: none;
   -ms-user-select: none;
       user-select: none;
  -webkit-user-select: none;
  height: 100%;
}
.rbc-month-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
}
.rbc-month-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-flex: 1;
      -ms-flex: 1 0 0px;
          flex: 1 0 0;
  -ms-flex-preferred-size: 0px;
      flex-basis: 0px;
  overflow: hidden;
  height: 100%;
}
.rbc-month-row + .rbc-month-row {
  border-top: 1px solid #ddd;
}
.rbc-date-cell {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 0px;
          flex: 1 1 0;
  min-width: 0;
  padding-right: 5px;
  text-align: right;
}
.rbc-date-cell.rbc-now {
  font-weight: bold;
}
.rbc-date-cell > a, .rbc-date-cell > a:active, .rbc-date-cell > a:visited {
  color: inherit;
  text-decoration: none;
}
.rbc-row-bg {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-flex: 1;
      -ms-flex: 1 0 0px;
          flex: 1 0 0;
  overflow: hidden;
}
.rbc-day-bg {
  -webkit-box-flex: 1;
      -ms-flex: 1 0 0%;
          flex: 1 0 0%;
}
.rbc-day-bg + .rbc-day-bg {
  border-left: 1px solid #ddd;
}
.rbc-rtl .rbc-day-bg + .rbc-day-bg {
  border-left-width: 0;
  border-right: 1px solid #ddd;
}
.rbc-overlay {
  position: absolute;
  z-index: 5;
  border: 1px solid #e5e5e5;
  background-color: #fff;
  -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
          box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
  padding: 10px;
}
.rbc-overlay > * + * {
  margin-top: 1px;
}
.rbc-overlay-header {
  border-bottom: 1px solid #e5e5e5;
  margin: -10px -10px 5px -10px;
  padding: 2px 10px;
}
.rbc-agenda-view {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-flex: 1;
      -ms-flex: 1 0 0px;
          flex: 1 0 0;
  overflow: auto;
}
.rbc-agenda-view table.rbc-agenda-table {
  width: 100%;
  border: 1px solid #ddd;
  border-spacing: 0;
  border-collapse: collapse;
}
.rbc-agenda-view table.rbc-agenda-table tbody > tr > td {
  padding: 5px 10px;
  vertical-align: top;
}
.rbc-agenda-view table.rbc-agenda-table .rbc-agenda-time-cell {
  padding-left: 15px;
  padding-right: 15px;
  text-transform: lowercase;
}
.rbc-agenda-view table.rbc-agenda-table tbody > tr > td + td {
  border-left: 1px solid #ddd;
}
.rbc-rtl .rbc-agenda-view table.rbc-agenda-table tbody > tr > td + td {
  border-left-width: 0;
  border-right: 1px solid #ddd;
}
.rbc-agenda-view table.rbc-agenda-table tbody > tr + tr {
  border-top: 1px solid #ddd;
}
.rbc-agenda-view table.rbc-agenda-table thead > tr > th {
  padding: 3px 5px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}
.rbc-rtl .rbc-agenda-view table.rbc-agenda-table thead > tr > th {
  text-align: right;
}
.rbc-agenda-time-cell {
  text-transform: lowercase;
}
.rbc-agenda-time-cell .rbc-continues-after:after {
  content: " »";
}
.rbc-agenda-time-cell .rbc-continues-prior:before {
  content: "« ";
}
.rbc-agenda-date-cell,
.rbc-agenda-time-cell {
  white-space: nowrap;
}
.rbc-agenda-event-cell {
  width: 100%;
}
.rbc-time-column {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  min-height: 100%;
}
.rbc-time-column .rbc-timeslot-group {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
.rbc-timeslot-group {
  border-bottom: 1px solid #ddd;
  min-height: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-flow: column nowrap;
          flex-flow: column nowrap;
}
.rbc-time-gutter,
.rbc-header-gutter {
  -webkit-box-flex: 0;
      -ms-flex: none;
          flex: none;
}
.rbc-label {
  padding: 0 5px;
}
.rbc-day-slot {
  position: relative;
}
.rbc-day-slot .rbc-events-container {
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  margin-right: 10px;
  top: 0;
}
.rbc-day-slot .rbc-events-container.rbc-rtl {
  left: 10px;
  right: 0;
}
.rbc-day-slot .rbc-event, .rbc-day-slot .rbc-background-event {
  border: 1px solid #265985;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  max-height: 100%;
  min-height: 20px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-flow: column wrap;
          flex-flow: column wrap;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  overflow: hidden;
  position: absolute;
}
.rbc-day-slot .rbc-background-event {
  opacity: 0.75;
}
.rbc-day-slot .rbc-event-label {
  -webkit-box-flex: 0;
      -ms-flex: none;
          flex: none;
  padding-right: 5px;
  width: auto;
}
.rbc-day-slot .rbc-event-content {
  width: 100%;
  -webkit-box-flex: 1;
      -ms-flex: 1 1 0px;
          flex: 1 1 0;
  word-wrap: break-word;
  line-height: 1;
  height: 100%;
  min-height: 1em;
}
.rbc-day-slot .rbc-time-slot {
  border-top: 1px solid #f7f7f7;
}
.rbc-time-view-resources .rbc-time-gutter,
.rbc-time-view-resources .rbc-time-header-gutter {
  position: sticky;
  left: 0;
  background-color: white;
  border-right: 1px solid #ddd;
  z-index: 10;
  margin-right: -1px;
}
.rbc-time-view-resources .rbc-time-header {
  overflow: hidden;
}
.rbc-time-view-resources .rbc-time-header-content {
  min-width: auto;
  -webkit-box-flex: 1;
      -ms-flex: 1 0 0px;
          flex: 1 0 0;
  -ms-flex-preferred-size: 0px;
      flex-basis: 0px;
}
.rbc-time-view-resources .rbc-time-header-cell-single-day {
  display: none;
}
.rbc-time-view-resources .rbc-day-slot {
  min-width: 140px;
}
.rbc-time-view-resources .rbc-header,
.rbc-time-view-resources .rbc-day-bg {
  width: 140px;
  -webkit-box-flex: 1;
      -ms-flex: 1 1 0px;
          flex: 1 1 0;
  -ms-flex-preferred-size: 0 px;
      flex-basis: 0 px;
}
.rbc-time-header-content + .rbc-time-header-content {
  margin-left: -1px;
}
.rbc-time-slot {
  -webkit-box-flex: 1;
      -ms-flex: 1 0 0px;
          flex: 1 0 0;
}
.rbc-time-slot.rbc-now {
  font-weight: bold;
}
.rbc-day-header {
  text-align: center;
}
.rbc-slot-selection {
  z-index: 10;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 75%;
  width: 100%;
  padding: 3px;
}
.rbc-slot-selecting {
  cursor: move;
}
.rbc-time-view {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  width: 100%;
  border: 1px solid #ddd;
  min-height: 0;
}
.rbc-time-view .rbc-time-gutter {
  white-space: nowrap;
  text-align: right;
}
.rbc-time-view .rbc-allday-cell {
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  width: 100%;
  height: 100%;
  position: relative;
}
.rbc-time-view .rbc-allday-cell + .rbc-allday-cell {
  border-left: 1px solid #ddd;
}
.rbc-time-view .rbc-allday-events {
  position: relative;
  z-index: 4;
}
.rbc-time-view .rbc-row {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  min-height: 20px;
}
.rbc-time-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
}
.rbc-time-header.rbc-overflowing {
  border-right: 1px solid #ddd;
}
.rbc-rtl .rbc-time-header.rbc-overflowing {
  border-right-width: 0;
  border-left: 1px solid #ddd;
}
.rbc-time-header > .rbc-row:first-child {
  border-bottom: 1px solid #ddd;
}
.rbc-time-header > .rbc-row.rbc-row-resource {
  border-bottom: 1px solid #ddd;
}
.rbc-time-header-cell-single-day {
  display: none;
}
.rbc-time-header-content {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  min-width: 0;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  border-left: 1px solid #ddd;
}
.rbc-rtl .rbc-time-header-content {
  border-left-width: 0;
  border-right: 1px solid #ddd;
}
.rbc-time-header-content > .rbc-row.rbc-row-resource {
  border-bottom: 1px solid #ddd;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.rbc-time-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
      -ms-flex: 1 0 0%;
          flex: 1 0 0%;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  width: 100%;
  border-top: 2px solid #ddd;
  overflow-y: auto;
  position: relative;
}
.rbc-time-content > .rbc-time-gutter {
  -webkit-box-flex: 0;
      -ms-flex: none;
          flex: none;
}
.rbc-time-content > * + * > * {
  border-left: 1px solid #ddd;
}
.rbc-rtl .rbc-time-content > * + * > * {
  border-left-width: 0;
  border-right: 1px solid #ddd;
}
.rbc-time-content > .rbc-day-slot {
  width: 100%;
  -moz-user-select: none;
   -ms-user-select: none;
       user-select: none;
  -webkit-user-select: none;
}
.rbc-current-time-indicator {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #74ad31;
  pointer-events: none;
}
.rbc-time-header-cell button{
    background: none !important;
    font-size: 1rem;
    width: 100%;
    text-align: center;
    font-weight: bold;
    color:#6C757D
}
.rm-dark .rbc-time-header-cell button, .rm-dark .rbc-time-slot, .rm-dark .rbc-header {
  color:white !important
}
.rm-dark .rbc-off-range-bg{
  background:  #30353c;
}
.rbc-time-slot{
    color:#6C757D;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
}
.event-dot::before {
    position: relative;
    display: flex !important;
    display: inline-block;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50%;
    margin: 1.4px 0 0.4px 5px !important;
  }
.rbc-addons-dnd {
    .rbc-addons-dnd-row-body {
      position: relative;
    }
    .rbc-addons-dnd-drag-row {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
    }
    .rbc-event {

      &:hover {
        .rbc-addons-dnd-resize-ns-icon, .rbc-addons-dnd-resize-ew-icon { display: block; }
      }
    }
    .rbc-addons-dnd-dragged-event {
      opacity: 0;
    }
    &.rbc-addons-dnd-is-dragging .rbc-event:not(.rbc-addons-dnd-dragged-event):not(.rbc-addons-dnd-drag-preview) {
      opacity: .50;
    }
    .rbc-addons-dnd-resizable {
      position: relative;
      width: 100%;
      height: 100%;
    }
    .rbc-addons-dnd-resize-ns-anchor {
      width: 100%;
      text-align: center;
      position: absolute;
      &:first-child { top: 0; }
      &:last-child { bottom: 0; }
      .rbc-addons-dnd-resize-ns-icon {
        display: none;
        border-top: 3px double;
        margin: 0 auto;
        width: 10px;
        cursor: ns-resize;
      }
    }
    .rbc-addons-dnd-resize-ew-anchor {
      position: absolute;
      top: 4px;
      bottom: 0;
      &:first-child { left: 0; }
      &:last-child { right: 0; }
      .rbc-addons-dnd-resize-ew-icon {
        display: none;
        border-left: 3px double;
        margin-top: auto;
        margin-bottom: auto;
        height: 10px;
        cursor: ew-resize;
      }
    }
  }


/* Restaurant Dashboard Styles */
.db-restaurant-dashboard {
  min-height: 100vh;
  background: linear-gradient(135deg, #fafbfc 0%, #f0f4f8 100%);
  padding: 20px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* ============================================
   COMBINED FILTER BAR - COMPACT DESIGN
   Period + Date Selector in One Row
   ============================================ */

/* Combined Filter Bar Wrapper */
.db-combined-filter-bar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 0 1px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 20px;
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: nowrap;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Period Selector inside combined bar - override all styles */
.db-combined-filter-bar .db-period-selector {
  background: transparent !important;
  backdrop-filter: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  border: none !important;
  margin: 0 !important;
  margin-bottom: 0 !important;
  flex-shrink: 0;
}

/* Date Selector inside combined bar - override all styles */
.db-combined-filter-bar .db-date-selector-wrapper {
  background: transparent !important;
  backdrop-filter: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  border: none !important;
  margin: 0 !important;
  margin-bottom: 0 !important;
  overflow: visible;
  flex: 1;
  min-width: 0;
}

/* Vertical separator line */
.db-combined-filter-bar::before {
  content: '';
  position: absolute;
  left: 280px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, rgba(255, 163, 5, 0.3), transparent);
  pointer-events: none;
}

.db-combined-filter-bar {
  position: relative;
}

/* Period Buttons Container */
.db-btn-group {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* Date Selector - Glass Morphism Design */
.db-date-selector-wrapper {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 0 1px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
  margin-bottom: 20px;
}

.db-date-picker-btn {
  min-width: 60px;
  padding: 8px 10px;
  margin-left: 8px;
  background: linear-gradient(135deg, #FFA305 0%, #FF8C00 100%);
  color: white;
  border: 2px solid #FFA305;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(255, 163, 5, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex-shrink: 0;
}

.db-date-picker-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(255, 163, 5, 0.35);
  background: linear-gradient(135deg, #FF8C00 0%, #FFA305 100%);
}

.db-date-picker-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(255, 163, 5, 0.25);
}

.db-date-picker-hidden {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.db-date-selector-scroll {
  display: flex;
  padding-top: 4px;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.db-date-selector-scroll::-webkit-scrollbar {
  height: 6px;
}

.db-date-selector-scroll::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 3px;
}

.db-date-selector-scroll::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.db-date-selector-scroll::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.db-date-selector-item {
  margin-top: 0;
  min-width: 60px;
  padding: 8px 10px;
  border: 2px solid #e5e7eb;
  background: white;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  position: relative;
}

.db-date-selector-item:hover {
  border-color: #FFA305;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 163, 5, 0.15);
  background: linear-gradient(135deg, #fff9f0 0%, #fff5e6 100%);
}

.db-date-selector-item.selected {
  background: linear-gradient(135deg, #FFA305 0%, #FF8C00 100%);
  border-color: #FFA305;
  color: white;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(255, 163, 5, 0.35), 0 0 0 3px rgba(255, 163, 5, 0.1);
}

.db-date-selector-item.today {
  border-color: #3b82f6;
}

.db-date-selector-item.today:not(.selected) {
  background: #eff6ff;
}

.db-date-day {
  font-size: 8px;
  font-weight: 600;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.db-date-number {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.db-date-month {
  font-size: 8px;
  font-weight: 600;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.db-date-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #3b82f6;
  color: white;
  font-size: 7px;
  padding: 2px 4px;
  border-radius: 5px;
  font-weight: 600;
  line-height: 1;
}

.db-date-selector-item.selected .db-date-badge {
  background: white;
  color: #FFA305;
}

.db-btn-group {
  display: flex;
  gap: 8px;
}

.db-period-btn {
  padding: 10px 20px;
  border: 2px solid #e5e7eb;
  background: white;
  border-radius: 10px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.3px;
  color: #4b5563;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.db-period-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 163, 5, 0.1), transparent);
  transition: left 0.5s;
}

.db-period-btn:hover::before {
  left: 100%;
}

.db-period-btn:hover {
  border-color: #FFA305;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 163, 5, 0.2);
  background: linear-gradient(135deg, #fff9f0 0%, #fff5e6 100%);
}

.db-period-btn.active {
  background: linear-gradient(135deg, #FFA305 0%, #FF8C00 100%);
  border-color: #FFA305;
  color: white;
  box-shadow: 0 4px 15px rgba(255, 163, 5, 0.35);
}

/* Compact Stats Grid */
.db-compact-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Ana Metrikler - Büyük Kartlar */
.db-main-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.db-main-metric-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: white;
  border-radius: 16px;
  border-left: 4px solid #e5e7eb;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06), 0 0 1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.db-main-metric-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 163, 5, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.db-main-metric-item:hover::before {
  opacity: 1;
}

.db-main-metric-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12), 0 0 1px rgba(0, 0, 0, 0.1);
}

.db-main-metric-item.highlight-primary {
  background: linear-gradient(135deg, #fffbf5 0%, #fff5e6 100%);
  border-left-color: #FFA305;
}

.db-main-metric-item.highlight-success {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-left-color: #10b981;
}

.db-main-metric-item.highlight-danger {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border-left-color: #ef4444;
}

.db-main-metric-icon {
  font-size: 30px;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
  border-radius: 14px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: transform 0.3s;
}

.db-main-metric-item:hover .db-main-metric-icon {
  transform: scale(1.1) rotate(5deg);
}

.db-main-metric-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.db-main-metric-label {
  font-size: 11px;
  color: #6b7280;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.db-main-metric-value {
  font-size: 22px;
  font-weight: 700;
  color: linear-gradient(135deg, #30353c 0%, #282d34 100%);
  letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
}

/* Metrik Grupları */
.db-metrics-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.db-metric-group {
  background: linear-gradient(135deg, #fafbfc 0%, #f8f9fa 100%);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s;
}

.db-metric-group:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.db-group-title {
  margin: 0 0 14px 0;
  font-size: 11px;
  font-weight: 700;
  color: #4b5563;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 2px solid transparent;
  background: linear-gradient(90deg, #e5e7eb 0%, transparent 100%) bottom/100% 2px no-repeat;
}

.db-group-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.db-compact-stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: white;
  border-radius: 10px;
  border-left: 3px solid #e5e7eb;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.db-compact-stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #FFA305 0%, #FF8C00 100%);
  transform: scaleY(0);
  transition: transform 0.3s;
}

.db-compact-stat-item:hover::before {
  transform: scaleY(1);
}

.db-compact-stat-item:hover {
  background: linear-gradient(135deg, #fffbf5 0%, #fff9f0 100%);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(255, 163, 5, 0.1);
}

.db-compact-stat-item.highlight {
  background: linear-gradient(135deg, #fff8ed 0%, #fff3e0 100%);
  border-left-color: #FFA305;
}

.db-compact-stat-item.highlight:hover {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe9cc 100%);
}

.db-compact-stat-icon {
  font-size: 20px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 8px;
  flex-shrink: 0;
}

.db-compact-stat-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.db-compact-stat-label {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.db-compact-stat-value {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.db-compact-stat-change {
  font-size: 13px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.db-compact-stat-change.positive {
  color: #059669;
  background: #d1fae5;
}

.db-compact-stat-change.negative {
  color: #dc2626;
  background: #fee2e2;
}

.db-compact-stat-change.neutral {
  color: #64748b;
  background: #f1f5f9;
}

/* Table Styles */
.db-table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.db-report-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.db-report-table thead {
  background: #f7fafc;
}

.db-report-table th {
  padding: 12px;
  text-align: left;
  font-weight: 600;
  color: #4a5568;
  border-bottom: 2px solid #e2e8f0;
  white-space: nowrap;
}

.db-report-table td {
  padding: 12px;
  border-bottom: 1px solid #f7fafc;
  color: #2d3748;
}

.db-report-table tbody tr:hover {
  background: #f7fafc;
}

.db-text-success {
  color: #10b981;
}

.db-text-danger {
  color: #ef4444;
}

.db-text-warning {
  color: #f59e0b;
}

/* Category List */
.db-category-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.db-category-item {
  padding: 12px;
  border-radius: 10px;
  background: #f7fafc;
  transition: all 0.3s;
}

.db-category-item:hover {
  background: #edf2f7;
  transform: translateX(3px);
}

.db-category-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.db-category-info h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #1a202c;
}

.db-category-orders {
  font-size: 11px;
  color: #718096;
}

.db-category-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.db-category-percentage {
  font-weight: 700;
  color: #FFA305;
  font-size: 15px;
}

.db-category-revenue {
  font-weight: 700;
  font-size: 14px;
  color: #1a202c;
}

.db-category-bar {
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
}

.db-category-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #FFA305 0%, #ff8c61 100%);
  border-radius: 3px;
  transition: width 0.5s ease;
}

/* Reviews */
.db-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.db-review-item {
  padding: 16px;
  border-radius: 12px;
  background: #f7fafc;
  border-left: 4px solid #FFA305;
}

.db-review-header {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.db-review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFA305 0%, #ff8c61 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  flex-shrink: 0;
}

.db-review-info h4 {
  margin: 0 0 4px 0;
  font-size: 15px;
  font-weight: 600;
  color: #1a202c;
}

.db-review-rating {
  margin: 4px 0;
  font-size: 14px;
}

.db-review-info small {
  color: #718096;
  font-size: 12px;
}

.db-review-comment {
  margin: 0;
  color: #4a5568;
  font-size: 14px;
  line-height: 1.6;
}

/* Hardware Products */
.db-hardware-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.db-hardware-product-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  border: 2px solid #e2e8f0;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.db-hardware-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(255, 107, 53, 0.2);
  border-color: #FFA305;
}

.db-hardware-product-icon {
  font-size: 48px;
  text-align: center;
  margin-bottom: 12px;
}

.db-hardware-product-badge {
  display: inline-block;
  padding: 4px 12px;
  background: #f7fafc;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.db-hardware-product-name {
  font-size: 16px;
  font-weight: 700;
  color: #1a202c;
  margin: 0 0 8px 0;
}

.db-hardware-product-desc {
  font-size: 13px;
  color: #718096;
  line-height: 1.5;
  margin: 0 0 16px 0;
  min-height: 60px;
}

.db-hardware-product-footer {
  margin-bottom: 16px;
}

.db-hardware-product-price {
  font-size: 24px;
  font-weight: 700;
  color: #FFA305;
  margin-bottom: 8px;
}

.db-hardware-product-info {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: #718096;
}

.db-hardware-product-info span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.db-hardware-product-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #FFA305 0%, #ff8c61 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}

.db-hardware-product-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* Affected Products */
.db-affected-products {
  margin-top: 8px;
}

.db-affected-products small {
  color: #718096;
  font-size: 11px;
  display: block;
  margin-top: 4px;
}

/* ============================================
   QUICK ACCESS REPORTS
   ============================================ */

.db-quick-access-section {
  margin-top: 32px;
  margin-bottom: 32px;
  padding: 28px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 2px solid #f3f4f6;
}

.db-quick-access-header {
  margin-bottom: 24px;
  text-align: center;
}

.db-quick-access-header h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 800;
  color: #1a202c;
  margin: 0 0 8px 0;
}

.db-quick-access-header h2 i {
  font-size: 24px;
  color: #FFA305;
  animation: pulse 2s ease-in-out infinite;
}

.db-quick-access-subtitle {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  font-weight: 500;
}

.db-quick-access-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  padding:8px;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.db-quick-access-card {
  position: relative;
  background: white;
  border-radius: 16px;
  padding: 20px;
  border: 2px solid #f3f4f6;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.db-quick-access-card:hover {
  border-color: #FFA305;
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(255, 163, 5, 0.2);
}

.db-quick-access-card-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 2;
}

.db-quick-access-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: white;
  transition: all 0.3s ease;
}

.db-quick-access-card:hover .db-quick-access-icon {
  transform: rotate(-10deg) scale(1.1);
}

.db-quick-access-content {
  flex: 1;
}

.db-quick-access-title {
  font-size: 15px;
  font-weight: 700;
  color: #1a202c;
  margin: 0;
  line-height: 1.4;
  transition: all 0.3s ease;
}

.db-quick-access-card:hover .db-quick-access-title {
  color: #FFA305;
}

.db-quick-access-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 10px;
  background: linear-gradient(135deg, #FFA305 0%, #FF8C00 100%);
  color: white;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
}

.db-quick-access-arrow {
  align-self: flex-end;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #64748b;
  transition: all 0.3s ease;
}

.db-quick-access-card:hover .db-quick-access-arrow {
  background: #FFA305;
  color: white;
  transform: translateX(4px);
}

.db-quick-access-hover-effect {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 163, 5, 0.1), transparent);
  transition: left 0.5s ease;
  pointer-events: none;
}

.db-quick-access-card:hover .db-quick-access-hover-effect {
  left: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .db-quick-access-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
  }

  .db-quick-access-section {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .db-quick-access-grid {
    grid-template-columns: 1fr;
  }
}

/* Badge Variations */
.db-badge.success {
  background: #d1fae5;
  color: #065f46;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.db-badge.warning {
  background: #fef3c7;
  color: #92400e;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

/* Header */
.db-dashboard-header {
  background: white;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.db-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.db-dashboard-header h1 {
  font-size: 28px;
  font-weight: 700;
  color: #1a202c;
  margin: 0;
}

.db-header-subtitle {
  color: #718096;
  margin: 8px 0 0 0;
  font-size: 14px;
}

.db-header-actions {
  display: flex;
  gap: 12px;
}

.db-btn-icon {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: none;
  background: #f7fafc;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s;
}

.db-btn-icon:hover {
  background: #edf2f7;
  transform: translateY(-2px);
}

.db-btn-icon .badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #FFA305;
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: 600;
}

/* Stats Grid */
.db-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.db-stat-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.db-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #FFA305 0%, #ff8c61 100%);
}

.db-stat-card.primary::before {
  background: linear-gradient(180deg, #FFA305 0%, #ff8c61 100%);
}

.db-stat-card.success::before {
  background: linear-gradient(180deg, #10b981 0%, #34d399 100%);
}

.db-stat-card.warning::before {
  background: linear-gradient(180deg, #f59e0b 0%, #fbbf24 100%);
}

.db-stat-card.info::before {
  background: linear-gradient(180deg, #3b82f6 0%, #60a5fa 100%);
}

.db-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.db-stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: #f7fafc;
}

.db-stat-content {
  flex: 1;
}

.db-stat-content h3 {
  font-size: 13px;
  font-weight: 600;
  color: #718096;
  margin: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.db-stat-value {
  font-size: 24px;
  font-weight: 700;
  color: #1a202c;
  margin: 0 0 4px 0;
}

.db-stat-change {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-block;
}

.db-stat-change.positive {
  color: #10b981;
  background: #d1fae5;
}

.db-stat-change.negative {
  color: #ef4444;
  background: #fee2e2;
}

.db-stat-change.neutral {
  color: #6b7280;
  background: #f3f4f6;
}

/* Dashboard Grid */
.db-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: start;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Masonry Grid */
.db-dashboard-masonry {
  display: flex;
  margin-left: -24px;
  width: auto;
  overflow-x: hidden;
  box-sizing: border-box;
}

.db-dashboard-masonry-column {
  padding-left: 24px;
  background-clip: padding-box;
}

.db-dashboard-masonry-column>.db-dashboard-card {
  margin-bottom: 24px;
}

.db-dashboard-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 0 1px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(229, 231, 235, 0.5);
  width: 100%;
}

.db-dashboard-card:hover {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1), 0 0 1px rgba(0, 0, 0, 0.1);
  border-color: rgba(255, 163, 5, 0.2);
}

.db-dashboard-card.large {
  grid-column: span 8;
}

.db-dashboard-card.full {
  grid-column: span 12;
}

.db-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid transparent;
  background: linear-gradient(90deg, rgba(255, 163, 5, 0.1) 0%, transparent 50%, rgba(255, 163, 5, 0.1) 100%) bottom/100% 2px no-repeat;
  position: relative;
}

.db-card-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #FFA305 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.db-dashboard-card:hover .db-card-header::after {
  opacity: 0.3;
}

.db-card-header h2 {
  font-size: 14px !important;
  font-weight: 700;
  color: #1a202c;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.db-card-header h2 i {
  font-size: 14px !important;
}

/* Show All Button */
.db-show-all-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #FFA305 0%, #FF8C00 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(255, 163, 5, 0.25);
}

.db-show-all-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 163, 5, 0.35);
}

.db-show-all-btn:active {
  transform: translateY(0);
}

.db-show-all-btn i {
  font-size: 12px;
}

.db-show-all-btn span {
  white-space: nowrap;
}

.db-card-actions {
  display: flex;
  gap: 8px;
}

.db-btn-sm {
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  background: #f7fafc;
  color: #4a5568;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s;
}

.db-btn-sm:hover {
  background: #edf2f7;
  transform: translateY(-1px);
}

.db-card-body {
  min-height: 100px;
}

.db-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.db-badge.danger {
  background: #fee2e2;
  color: #dc2626;
}

/* Products List */
.db-products-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.db-product-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  background: #f7fafc;
  transition: all 0.3s;
}

.db-product-item:hover {
  background: #edf2f7;
  transform: translateX(3px);
}

.db-product-rank {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: linear-gradient(135deg, #FFA305 0%, #ff8c61 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
}

.db-product-icon {
  font-size: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 8px;
}

.db-product-info {
  flex: 1;
}

.db-product-info h4 {
  margin: 0 0 3px 0;
  font-size: 13px;
  font-weight: 600;
  color: #1a202c;
}

.db-product-category {
  font-size: 11px;
  color: #718096;
}

.db-product-stats {
  text-align: right;
}

.db-product-quantity {
  display: block;
  font-size: 11px;
  color: #718096;
  margin-bottom: 2px;
}

.db-product-revenue {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #FFA305;
}

/* Tables Grid */
.db-tables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.db-table-card {
  padding: 16px;
  border-radius: 12px;
  text-align: center;
  border: 2px solid;
  transition: all 0.3s;
  cursor: pointer;
}

.db-table-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.db-table-card.occupied {
  background: #fee2e2;
  border-color: #fca5a5;
}

.db-table-card.available {
  background: #d1fae5;
  border-color: #86efac;
}

.db-table-card.reserved {
  background: #fef3c7;
  border-color: #fde047;
}

.db-table-name {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
  color: #1a202c;
}

.db-table-status {
  font-size: 12px;
  margin-bottom: 8px;
}

.db-table-amount {
  font-size: 18px;
  font-weight: 700;
  color: #FFA305;
  margin: 8px 0;
}

.db-table-info {
  font-size: 11px;
  color: #718096;
}

/* Staff List */
.db-staff-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.db-staff-item-wrapper {
  margin-bottom: 10px;
}

.db-staff-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 8px;
}

.db-staff-item:hover {
  background: #f8fafc;
}

.db-staff-item.expanded {
  background: #f0f8ff;
}

.db-staff-rank {
  font-size: 13px;
  font-weight: 700;
  color: #FFA305;
  background: #fff8ed;
  border-radius: 6px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.db-staff-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFA305, #ff8c61);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.db-staff-info {
  flex: 1;
}

.db-staff-info h4 {
  margin: 0 0 4px 0;
  font-size: 13px;
  font-weight: 600;
  color: #1a202c;
}

.db-staff-avg {
  font-size: 12px;
  color: #6c757d;
}

.db-staff-stats {
  text-align: right;
}

.db-staff-stats div {
  font-size: 14px;
  font-weight: 700;
  color: #10b981;
  margin-bottom: 2px;
}

.db-staff-stats small {
  font-size: 11px;
  color: #718096;
}

.db-staff-expand-icon {
  margin-left: auto;
  padding-left: 12px;
  color: #6c757d;
  font-size: 12px;
}

.db-staff-products-details {
  margin-top: 8px;
  margin-left: 40px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.db-staff-products-title {
  font-size: 13px;
  margin: 0 0 8px 0;
  color: #495057;
}

.db-staff-products-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.db-staff-product-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px;
  background: white;
  border-radius: 4px;
  font-size: 12px;
}

.db-staff-product-name {
  flex: 1;
}

.db-staff-product-category {
  color: #6c757d;
  margin-left: 8px;
  font-size: 11px;
}

.db-staff-product-stats {
  display: flex;
  gap: 12px;
  align-items: center;
}

.db-staff-product-quantity {
  color: #6c757d;
}

.db-staff-product-revenue {
  color: #28a745;
  min-width: 80px;
  text-align: right;
}

.db-staff-products-more {
  margin-top: 8px;
  font-size: 11px;
  color: #6c757d;
  text-align: center;
}

/* Staff List */
.db-staff-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.db-staff-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  background: #f7fafc;
  transition: all 0.3s;
}

.db-staff-item:hover {
  background: #edf2f7;
  transform: translateX(3px);
}

.db-staff-rank {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 11px;
}

.db-staff-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFA305 0%, #ff8c61 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
}

.db-staff-info {
  flex: 1;
}

.db-staff-info h4 {
  margin: 0 0 3px 0;
  font-size: 13px;
  font-weight: 600;
  color: #1a202c;
}

.db-staff-rating {
  font-size: 11px;
}

.db-staff-stats {
  text-align: right;
}

.db-staff-stats div {
  font-weight: 700;
  font-size: 14px;
  color: #FFA305;
}

.db-staff-stats small {
  font-size: 10px;
  color: #718096;
}

/* Payment Methods */
.db-payment-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ============================================
   MODERN PAYMENT METHODS CARDS
   ============================================ */

.db-payment-methods-card {
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  border: 1px solid rgba(255, 163, 5, 0.1);
}

.db-payment-total-badge {
  padding: 8px 16px;
  background: linear-gradient(135deg, #FFA305 0%, #FF8C00 100%);
  color: white;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 12px rgba(255, 163, 5, 0.35);
}

.db-payment-methods-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.db-payment-card-modern {
  background: white;
  border-radius: 16px;
  padding: 20px;
  border: 2px solid #f3f4f6;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.db-payment-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #FFA305, transparent);
  opacity: 0;
}

.db-payment-card-modern:hover {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
  border-color: #FFA305;
}

.db-payment-card-modern:hover::before {
  opacity: 1;
}

.db-payment-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.db-payment-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: white;
  flex-shrink: 0;
}

.db-payment-card-modern:hover .db-payment-icon-wrapper {
}

.db-payment-info-wrapper {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.db-payment-title {
  font-size: 14px;
  font-weight: 700;
  color: #1a202c;
  display: flex;
  align-items: center;
  gap: 8px;
}

.db-payment-expand-arrow {
  font-size: 10px;
  color: #9ca3af;
  transition: transform 0.3s ease;
}

.db-payment-percentage-badge {
  padding: 6px 12px;
  border-radius: 12px;
  color: white;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.db-payment-amount-large {
  font-size: 28px;
  font-weight: 800;
  color: #1a202c;
  margin: 12px 0;
  letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
}

.db-payment-progress-wrapper {
  margin-top: 16px;
}

.db-payment-progress-track {
  height: 10px;
  background: #f3f4f6;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.db-payment-progress-fill {
  height: 100%;
  border-radius: 10px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.db-payment-progress-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 200%;
  }
}

.db-payment-item-wrapper {
  border-radius: 10px;
  background: #f7fafc;
  padding: 12px;
  transition: all 0.3s;
}

.db-payment-item-wrapper:hover {
  background: #edf2f7;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.db-payment-item {
  /* Artık wrapper içinde */
}

.db-payment-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.db-payment-method {
  font-weight: 600;
  color: #1a202c;
  font-size: 12px;
}

.db-payment-percentage {
  font-weight: 700;
  color: #FFA305;
  font-size: 12px;
}

.db-payment-amount {
  font-size: 16px;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 8px;
}

.db-payment-bar {
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
}

.db-payment-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #FFA305 0%, #ff8c61 100%);
  border-radius: 3px;
  transition: width 0.5s ease;
}

/* Payment Sub Items */
.db-payment-subitems {
  margin-top: 16px;
  padding-top: 0;
  border-top: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease-in-out, opacity 0.3s ease-in-out, margin-top 0.3s ease-in-out, padding-top 0.3s ease-in-out;
}

.db-payment-subitems.expanded {
  max-height: 1000px;
  opacity: 1;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed #cbd5e1;
}

.db-payment-subitems.collapsed {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.db-payment-item.clickable {
  cursor: pointer;
  transition: all 0.2s;
}

.db-payment-item.clickable:hover {
  background: rgba(255, 163, 5, 0.03);
  transform: translateX(2px);
}

.db-payment-method-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.db-payment-expand-icon {
  font-size: 10px;
  color: #94a3b8;
  transition: transform 0.3s ease;
  display: inline-block;
}

.db-payment-expand-icon.expanded {
  transform: rotate(180deg);
}

.db-payment-subitem {
  padding: 12px;
  background: white;
  border-radius: 8px;
  border-left: 3px solid #e2e8f0;
  transition: all 0.3s;
}

.db-payment-subitem:hover {
  border-left-color: #FFA305;
  transform: translateX(4px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.db-payment-subitem-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.db-payment-subitem-icon {
  color: #94a3b8;
  font-size: 14px;
  font-weight: 600;
}

.db-payment-subitem-method {
  flex: 1;
  font-weight: 500;
  color: #475569;
  font-size: 13px;
}

.db-payment-subitem-percentage {
  font-weight: 600;
  color: #64748b;
  font-size: 12px;
}

.db-payment-subitem-amount {
  font-size: 16px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 8px;
  padding-left: 22px;
}

.db-payment-subitem-bar {
  height: 6px;
  background: #f1f5f9;
  border-radius: 3px;
  overflow: hidden;
  margin-left: 22px;
}

.db-payment-subitem-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #94a3b8 0%, #cbd5e1 100%);
  border-radius: 3px;
  transition: width 0.5s ease;
}

/* Stock Alerts */
.db-stock-alerts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.db-stock-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-radius: 12px;
  border-left: 4px solid;
}

.db-stock-item.critical {
  background: #fee2e2;
  border-color: #dc2626;
}

.db-stock-item.warning {
  background: #fef3c7;
  border-color: #f59e0b;
}

.db-stock-info h4 {
  margin: 0 0 4px 0;
  font-size: 14px;
  font-weight: 600;
  color: #1a202c;
}

.db-stock-unit {
  font-size: 12px;
  color: #718096;
}

.db-stock-badge {
  font-size: 12px;
  font-weight: 600;
}

/* Quick Actions */
.db-quick-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.db-quick-action-btn {
  padding: 16px;
  border-radius: 12px;
  border: 2px solid #e2e8f0;
  background: white;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.db-quick-action-btn:hover {
  background: #f7fafc;
  border-color: #FFA305;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 107, 53, 0.2);
}

.db-action-icon {
  font-size: 28px;
}

.db-quick-action-btn span:last-child {
  font-size: 13px;
  font-weight: 600;
  color: #4a5568;
}

/* Responsive Design */
@media (max-width: 1200px) {

  .db-dashboard-card,
  .db-dashboard-card.large {
    grid-column: span 12;
  }
}

@media (max-width: 768px) {
  .db-restaurant-dashboard {
    padding: 12px;
  }

  .db-dashboard-header {
    padding: 16px;
  }

  .db-dashboard-header h1 {
    font-size: 22px;
  }

  .db-stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Compact Filter Bar - Mobilde dikey */
  .db-combined-filter-bar {
    flex-direction: column;
    gap: 12px;
    padding: 12px;
  }

  .db-period-selector {
    width: 100%;
  }

  .db-btn-group {
    width: 100%;
  }

  .db-period-btn {
    flex: 1;
  }

  .db-date-selector-wrapper {
    width: 100%;
  }

  .db-dashboard-grid {
    gap: 16px;
  }

  .db-dashboard-masonry {
    margin-left: -16px;
  }

  .db-dashboard-masonry-column {
    padding-left: 16px;
  }

  .db-dashboard-masonry-column>.db-dashboard-card {
    margin-bottom: 16px;
  }

  .db-tables-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .db-quick-actions {
    grid-template-columns: 1fr;
  }

  .db-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .db-header-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .db-tables-grid {
    grid-template-columns: 1fr;
  }

  .db-product-item,
  .db-staff-item {
    flex-wrap: wrap;
  }

  .db-stat-value {
    font-size: 20px;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  100% {
    transform: rotate(360deg);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes glow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(255, 163, 5, 0.3);
  }

  50% {
    box-shadow: 0 0 40px rgba(255, 163, 5, 0.6);
  }
}

/* ============================================
   HERO METRICS - 3D ANIMATED CARDS
   ============================================ */

.db-financial-summary-card {
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  border: 1px solid rgba(255, 163, 5, 0.1);
  position: relative;
  overflow: visible;
}

.db-header-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #FFA305 0%, #FF8C00 100%);
  border-radius: 8px;
  margin-right: 8px;
  color: white;
  transition: all 0.3s ease;
}

.db-card-header:hover .db-header-icon-wrapper {
  transform: rotate(10deg) scale(1.1);
}

.db-card-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.db-card-badge i {
}

/* ============================================
   MINI STATS BAR - Top Compact Metrics
   ============================================ */

.db-mini-stats-bar {
  display: flex;
  gap: 10px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 14px;
  margin-bottom: 24px;
  border: 1px solid #e2e8f0;
  overflow-x: auto;
}

.db-mini-stat-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: white;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.db-mini-stat-pill:hover {
  border-color: #FFA305;
  box-shadow: 0 4px 12px rgba(255, 163, 5, 0.15);
  transform: translateY(-2px);
}

.db-mini-stat-pill>i {
  font-size: 18px;
  color: #FFA305;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.db-mini-stat-pill-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.db-mini-stat-pill-label {
  font-size: 9px;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.db-mini-stat-pill-value {
  font-size: 14px;
  font-weight: 800;
  color: #1a202c;
  white-space: nowrap;
}

/* ============================================
   COMPACT METRICS GRID - Masa & Paket
   ============================================ */

.db-compact-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.db-compact-card {
  background: white;
  border-radius: 14px;
  padding: 18px;
  border: 2px solid #f3f4f6;
  transition: all 0.3s ease;
}

.db-compact-card:hover {
  border-color: #FFA305;
  box-shadow: 0 8px 24px rgba(255, 163, 5, 0.12);
  transform: translateY(-4px);
}

.db-compact-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid #f9fafb;
}

.db-compact-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.db-compact-title-wrapper {
  flex: 1;
  min-width: 0;
}

.db-compact-title {
  margin: 0 0 4px 0;
  font-size: 15px;
  font-weight: 700;
  color: #1a202c;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.db-compact-badge {
  display: inline-block;
  padding: 3px 10px;
  background: #f3f4f6;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  color: #64748b;
}

.db-compact-stats {
  display: flex;
  gap: 0;
}

.db-compact-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  background: #fafbfc;
  transition: all 0.2s ease;
  cursor: pointer;
}

.db-compact-stat:first-child {
  border-radius: 10px 0 0 10px;
}

.db-compact-stat:last-child {
  border-radius: 0 10px 10px 0;
}

.db-compact-stat:hover {
  background: #f3f4f6;
  transform: scale(1.02);
}

.db-compact-stat-label {
  font-size: 10px;
  color: #6b7280;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.db-compact-stat-value {
  font-size: 20px;
  font-weight: 800;
  color: #1a202c;
  letter-spacing: -0.5px;
}

.db-compact-divider {
  width: 2px;
  background: linear-gradient(180deg, transparent, #e5e7eb, transparent);
  margin: 10px 0;
}

.db-hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 0;
}

.db-hero-card {
  position: relative;
  padding: 28px;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 0 1px rgba(0, 0, 0, 0.1);
  min-height: 180px;
}

.db-hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.db-hero-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2), 0 0 1px rgba(0, 0, 0, 0.1);
}

.db-hero-card-primary {
  background: linear-gradient(135deg, #FFA305 0%, #FF8C00 100%);
  color: white;
}

.db-hero-card-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.db-hero-card-danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
}

.db-hero-card-purple {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: white;
}

.db-hero-card-cyan {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  color: white;
}

.db-hero-card-orange {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
}

.db-hero-card-background {
  position: absolute;
  top: -30px;
  right: -30px;
  font-size: 180px;
  opacity: 0.08;
  transform: rotate(-15deg);
  pointer-events: none;
}

.db-hero-card:hover .db-hero-card-background {
  opacity: 0.12;
}

.db-hero-card-content {
  position: relative;
  z-index: 1;
}

.db-hero-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.db-hero-icon-wrapper {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.db-hero-card:hover .db-hero-icon-wrapper {
  background: rgba(255, 255, 255, 0.35);
}

.db-hero-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.95;
}

.db-hero-value {
  font-size: 36px;
  font-weight: 800;
  margin: 12px 0;
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  line-height: 1.2;
}

.db-hero-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 1px;
  padding-top: 5px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.db-trend-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.db-trend-badge i {
  font-size: 10px;
}

.db-trend-up {
  /* Already styled with background */
}

.db-trend-down {
  /* Already styled with background */
}

.db-trend-neutral {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}

.db-hero-subtitle {
  font-size: 11px;
  opacity: 0.85;
  font-weight: 500;
}

.db-hero-card-shine {
  display: none;
}

/* ============================================
   MODERN METRICS GROUPS - CLEAN & FLAT DESIGN
   ============================================ */

.db-metrics-groups-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}

.db-metric-group-simple {
  background: white;
  border-radius: 16px;
  padding: 20px;
  border: 2px solid #f3f4f6;
  transition: all 0.3s ease;
}

.db-metric-group-simple:hover {
  border-color: #e5e7eb;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Full width variant for "Diğerleri" section */
.db-metric-full-width {
  grid-column: 1 / -1;
}

.db-metric-full-width {
  grid-column: 1 / -1;
}

.db-group-header-simple {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f9fafb;
}

.db-group-icon-simple {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  flex-shrink: 0;
}

.db-group-title-wrapper {
  flex: 1;
}

.db-group-title-simple {
  margin: 0 0 2px 0;
  font-size: 16px;
  font-weight: 700;
  color: #1a202c;
}

.db-group-subtitle {
  font-size: 11px;
  color: #9ca3af;
  font-weight: 500;
}

.db-group-count-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

/* Metric Stats Row - Horizontal Layout */
.db-metric-stats-row {
  display: flex;
  gap: 0;
}

.db-metric-stat-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f9fafb;
  transition: all 0.2s ease;
  cursor: pointer;
}

.db-metric-stat-item:first-child {
  border-radius: 12px 0 0 12px;
}

.db-metric-stat-item:last-child {
  border-radius: 0 12px 12px 0;
}

.db-metric-stat-item:hover {
  background: #f3f4f6;
  transform: translateY(-2px);
}

.db-metric-stat-icon {
  width: 38px;
  height: 38px;
  background: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #64748b;
  flex-shrink: 0;
}

.db-metric-stat-content {
  flex: 1;
  min-width: 0;
}

.db-metric-stat-label {
  display: block;
  font-size: 10px;
  color: #9ca3af;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}

.db-metric-stat-value {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: #1a202c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.db-metric-divider {
  width: 2px;
  background: linear-gradient(180deg, transparent, #e5e7eb, transparent);
  margin: 8px 0;
}

/* Other Metrics - Horizontal Grid */
.db-other-metrics-grid-horizontal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

/* Other Metrics - Horizontal Grid Layout */
.db-other-metrics-grid-horizontal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

/* Other Metrics - Simple List (vertical) */
.db-other-metrics-simple {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.db-simple-metric-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #f9fafb;
  border-radius: 12px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.db-simple-metric-row:hover {
  background: #f3f4f6;
  transform: translateY(-2px);
}

.db-other-metrics-grid-horizontal .db-simple-metric-row:hover {
  transform: translateY(-4px);
}

.db-other-metrics-grid-horizontal .db-simple-metric-row {
  flex-direction: column;
  text-align: center;
  padding: 20px;
}

.db-other-metrics-grid-horizontal .db-simple-metric-icon {
  margin: 0 auto;
}

.db-other-metrics-grid-horizontal .db-simple-metric-content {
  width: 100%;
}

.db-other-metrics-grid-horizontal .db-simple-metric-label,
.db-other-metrics-grid-horizontal .db-simple-metric-value {
  text-align: center;
}

.db-simple-metric-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.db-simple-metric-content {
  flex: 1;
  min-width: 0;
}

.db-simple-metric-label {
  display: block;
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 4px;
}

.db-simple-metric-value {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: #1a202c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Removed opening animation for db-dashboard-card */

/* ============================================
   MODERN CATEGORY SALES CARDS
   ============================================ */

.db-category-card-modern {
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  border: 1px solid rgba(255, 163, 5, 0.1);
}

.db-category-total-badge {
  padding: 6px 14px;
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: white;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.db-category-list-modern {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.db-category-card-item {
  background: white;
  border-radius: 16px;
  padding: 18px;
  border: 2px solid #f3f4f6;
  cursor: pointer;
}

.db-category-card-item:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  border-color: #FFA305;
}

.db-category-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.db-category-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: white;
  flex-shrink: 0;
}

.db-category-card-item:hover .db-category-icon-wrapper {
}

.db-category-info-wrapper {
  flex: 1;
}

.db-category-title {
  margin: 0 0 4px 0;
  font-size: 15px;
  font-weight: 700;
  color: #1a202c;
}

.db-category-count {
  font-size: 11px;
  color: #9ca3af;
  font-weight: 600;
}

.db-category-percentage-badge {
  padding: 8px 14px;
  border-radius: 12px;
  color: white;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.db-category-amount {
  font-size: 24px;
  font-weight: 800;
  color: #1a202c;
  margin: 12px 0;
  letter-spacing: -0.5px;
}

.db-category-progress-wrapper {
  margin-top: 14px;
}

.db-category-progress-track {
  height: 8px;
  background: #f3f4f6;
  border-radius: 8px;
  overflow: hidden;
}

.db-category-progress-fill {
  height: 100%;
  border-radius: 8px;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.db-category-progress-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  animation: shimmer 2.5s infinite;
}

/* ============================================
   MODERN TOP PRODUCTS CARDS
   ============================================ */

.db-products-card-modern {
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  border: 1px solid rgba(255, 163, 5, 0.1);
}

.db-products-count-badge {
  padding: 6px 14px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.db-products-list-modern {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.db-product-card-modern {
  background: white;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 2px solid #f3f4f6;
  cursor: pointer;
}

.db-product-card-modern:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: #FFA305;
}

.db-product-rank-modern {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.db-product-icon-modern {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #64748b;
  flex-shrink: 0;
}

.db-product-card-modern:hover .db-product-icon-modern {
  background: linear-gradient(135deg, #fff8ed 0%, #fff3e0 100%);
  color: #FFA305;
}

.db-product-details-modern {
  flex: 1;
  min-width: 0;
}

.db-product-title-modern {
  margin: 0 0 6px 0;
  font-size: 14px;
  font-weight: 700;
  color: #1a202c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.db-product-meta-modern {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.db-product-category-badge,
.db-product-quantity-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: #f3f4f6;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 600;
  color: #64748b;
}

.db-product-category-badge i,
.db-product-quantity-badge i {
  font-size: 9px;
}

.db-product-revenue-modern {
  font-size: 18px;
  font-weight: 800;
  color: #FFA305;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ============================================
   MODERN HOURLY SALES
   ============================================ */

.db-hourly-card-modern {
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  border: 1px solid rgba(255, 163, 5, 0.1);
}

.db-hourly-stats-badges {
  display: flex;
  gap: 10px;
}

.db-hourly-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  color: white;
}

.db-hourly-badge i {
  font-size: 11px;
}

.db-hourly-badge-total {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.db-hourly-badge-peak {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

/* ============================================
   MODERN STAFF PERFORMANCE
   ============================================ */

.db-staff-count-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.db-staff-list-modern {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.db-staff-card-wrapper-modern {
  background: white;
  border-radius: 16px;
  border: 2px solid #f3f4f6;
  overflow: hidden;
  transition: all 0.3s ease;
}

.db-staff-card-wrapper-modern:hover {
  border-color: #FFA305;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.db-staff-card-item-modern {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: transparent;
}

.db-staff-card-item-modern:hover {
  background: linear-gradient(135deg, #fffbf5 0%, #fff9f0 100%);
}

.db-staff-card-item-modern.expanded {
  background: linear-gradient(135deg, #f0f8ff 0%, #e6f2ff 100%);
}

.db-staff-rank-modern {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.db-staff-avatar-modern {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.db-staff-card-item-modern:hover .db-staff-avatar-modern {
  transform: scale(1.1) rotate(-5deg);
}

.db-staff-info-modern {
  flex: 1;
  min-width: 0;
}

.db-staff-name-modern {
  margin: 0 0 6px 0;
  font-size: 15px;
  font-weight: 700;
  color: #1a202c;
}

.db-staff-meta-modern {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.db-staff-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}

.db-staff-meta-item i {
  font-size: 10px;
  color: #9ca3af;
}

.db-staff-revenue-modern {
  font-size: 20px;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
}

.db-staff-expand-icon-modern {
  width: 32px;
  height: 32px;
  background: #f3f4f6;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #64748b;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.db-staff-card-item-modern:hover .db-staff-expand-icon-modern {
  background: #FFA305;
  color: white;
  transform: scale(1.1);
}

.db-staff-products-expanded {
  padding: 20px;
  background: #f8fafc;
  border-top: 2px solid #e5e7eb;
  animation: fadeIn 0.3s ease;
}

.db-staff-products-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e5e7eb;
  font-size: 13px;
  font-weight: 700;
  color: #1a202c;
}

.db-staff-products-header i {
  color: #FFA305;
}

.db-staff-products-count {
  margin-left: auto;
  padding: 4px 10px;
  background: white;
  border-radius: 10px;
  font-size: 11px;
  color: #64748b;
}

.db-staff-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.db-staff-product-card {
  background: white;
  border-radius: 12px;
  padding: 14px;
  border: 2px solid #f3f4f6;
  transition: all 0.3s ease;
}

.db-staff-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border-color: #FFA305;
}

.db-staff-product-header {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.db-staff-product-number {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #FFA305 0%, #FF8C00 100%);
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
}

.db-staff-product-info-modern {
  flex: 1;
  min-width: 0;
}

.db-staff-product-title {
  display: block;
  font-size: 13px;
  color: #1a202c;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.db-staff-product-category-modern {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: #64748b;
  font-weight: 600;
}

.db-staff-product-category-modern i {
  font-size: 9px;
}

.db-staff-product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid #f3f4f6;
}

.db-staff-product-qty {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}

.db-staff-product-qty i {
  font-size: 10px;
}

.db-staff-product-amount {
  font-size: 15px;
  font-weight: 800;
}

.db-staff-products-more-modern {
  margin-top: 14px;
  padding: 12px;
  background: white;
  border-radius: 10px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  border: 2px dashed #e5e7eb;
}

.db-staff-products-more-modern i {
  margin-right: 6px;
  color: #9ca3af;
}

/* ============================================
   DARK MODE STYLES
   Applied when body has .rm-dark class
   Background: #30353c
   ============================================ */

/* Main Dashboard Background */
.rm-dark .db-restaurant-dashboard {
  background: linear-gradient(135deg, #30353c 0%, #282d34 100%);
}

/* Combined Filter Bar */
.rm-dark .db-combined-filter-bar {
  background: #30353c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 1px rgba(255, 255, 255, 0.1);
}

.rm-dark .db-combined-filter-bar::before {
  background: linear-gradient(180deg, transparent, rgba(255, 163, 5, 0.2), transparent);
}

/* Date Selector */
.rm-dark .db-date-selector-wrapper {
  background: #30353c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 1px rgba(255, 255, 255, 0.1);
}

.rm-dark .db-date-selector-scroll::-webkit-scrollbar-track {
  background: #282d34;
}

.rm-dark .db-date-selector-scroll::-webkit-scrollbar-thumb {
  background: #4b5563;
}

.rm-dark .db-date-selector-scroll::-webkit-scrollbar-thumb:hover {
  background: #6b7280;
}

.rm-dark .db-date-selector-item {
  background: #30353c;
  border-color: #4b5563;
  color: #e5e7eb;
}

.rm-dark .db-date-selector-item:hover {
  background: linear-gradient(135deg, #4b5563 0%, #565c67 100%);
  border-color: #FFA305;
}

.rm-dark .db-date-selector-item.selected {
  background: linear-gradient(135deg, #FFA305 0%, #FF8C00 100%);
  border-color: #FFA305;
  color: white;
}

.rm-dark .db-date-selector-item.today:not(.selected) {
  background: #1e3a5f;
  border-color: #3b82f6;
}

/* Period Buttons */
.rm-dark .db-period-btn {
  background: #30353c;
  border-color: #4b5563;
  color: #e5e7eb;
}

.rm-dark .db-period-btn:hover {
  background: linear-gradient(135deg, #4b5563 0%, #565c67 100%);
  border-color: #FFA305;
}

.rm-dark .db-period-btn.active {
  background: linear-gradient(135deg, #FFA305 0%, #FF8C00 100%);
  border-color: #FFA305;
  color: white;
}

/* Stats Cards */
.rm-dark .db-quick-stats-wrapper,
.rm-dark .db-compact-stats-wrapper {
  background: #30353c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.rm-dark .db-stat-card,
.rm-dark .db-compact-stat-card {
  background: #30353c;
  border: 1px solid #4b5563;
}

.rm-dark .db-stat-card:hover,
.rm-dark .db-compact-stat-card:hover {
  background: #484e58;
  border-color: #FFA305;
  box-shadow: 0 8px 24px rgba(255, 163, 5, 0.2);
}

.rm-dark .db-stat-label,
.rm-dark .db-compact-stat-label {
  color: #9ca3af;
}

.rm-dark .db-stat-value,
.rm-dark .db-compact-stat-value {
  color: #f9fafb;
}

.rm-dark .db-stat-footer,
.rm-dark .db-compact-stat-footer {
  color: #9ca3af;
  border-top-color: #4b5563;
}

.rm-dark .db-trend-up {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.rm-dark .db-trend-down {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.rm-dark .db-trend-badge {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: #e5e7eb;
}

/* Dashboard Cards */
.rm-dark .db-card,
.rm-dark .db-card-modern,
.rm-dark .db-dashboard-card {
  background: #30353c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.rm-dark .db-card-header {
  border-bottom-color: #4b5563;
}

.rm-dark .db-card-title {
  color: #f9fafb;
}

.rm-dark .db-card-subtitle {
  color: #9ca3af;
}

.rm-dark .db-dashboard-card h2,
.rm-dark .db-card h2,
.rm-dark .db-card-modern h2,
.rm-dark .db-card-header h2 {
  color: #f9fafb;
}

/* Payment Methods */
.rm-dark .db-payment-item {
  background: #30353c;
  border-color: #4b5563;
}

.rm-dark .db-payment-item:hover {
  background: #484e58;
  border-color: #FFA305;
}

.rm-dark .db-payment-method-name {
  color: #e5e7eb;
}

.rm-dark .db-payment-amount {
  color: #f9fafb;
}

.rm-dark .db-payment-percentage {
  color: #9ca3af;
}

.rm-dark .db-payment-sub-item {
  background: #35393f;
  border-color: #4b5563;
}

.rm-dark .db-payment-sub-title {
  color: #d1d5db;
}

.rm-dark .db-payment-toggle-icon {
  color: #9ca3af;
}

/* Top Products */
.rm-dark .db-product-item {
  background: #30353c;
  border-color: #4b5563;
}

.rm-dark .db-product-item:hover {
  background: #484e58;
  border-color: #FFA305;
}

.rm-dark .db-product-rank {
  background: linear-gradient(135deg, #4b5563 0%, #565c67 100%);
  color: #f9fafb;
}

.rm-dark .db-product-item:nth-child(1) .db-product-rank {
  background: linear-gradient(135deg, #FFA305 0%, #FF8C00 100%);
  color: white;
}

.rm-dark .db-product-item:nth-child(2) .db-product-rank {
  background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
  color: white;
}

.rm-dark .db-product-item:nth-child(3) .db-product-rank {
  background: linear-gradient(135deg, #cd7f32 0%, #b8762e 100%);
  color: white;
}

.rm-dark .db-product-name {
  color: #f9fafb;
}

.rm-dark .db-product-category {
  color: #9ca3af;
}

.rm-dark .db-product-sales {
  color: #f9fafb;
}

.rm-dark .db-product-qty {
  color: #9ca3af;
}

/* Category Sales */
.rm-dark .db-category-item {
  background: #30353c;
  border-left-color: #FFA305;
}

.rm-dark .db-category-item:hover {
  background: #484e58;
}

.rm-dark .db-category-name {
  color: #f9fafb;
}

.rm-dark .db-category-orders {
  color: #9ca3af;
}

.rm-dark .db-category-sales {
  color: #f9fafb;
}

.rm-dark .db-category-percentage {
  color: #FFA305;
}

.rm-dark .db-progress-bar {
  background: #35393f;
}

/* Hourly Sales Chart */
.rm-dark .db-hourly-bar {
  background: linear-gradient(135deg, #30353c 0%, #4b5563 100%);
}

.rm-dark .db-hourly-bar:hover {
  background: linear-gradient(135deg, #FFA305 0%, #FF8C00 100%);
}

.rm-dark .db-hourly-label {
  color: #9ca3af;
}

.rm-dark .db-hourly-amount {
  background: rgba(255, 163, 5, 0.2);
  color: #FFA305;
  border-color: #FFA305;
}

.rm-dark .db-hourly-orders {
  color: #9ca3af;
}

/* Staff Performance */
.rm-dark .db-staff-item {
  background: #30353c;
  border-color: #4b5563;
}

.rm-dark .db-staff-item:hover {
  background: #484e58;
  border-color: #FFA305;
}

.rm-dark .db-staff-avatar {
  background: linear-gradient(135deg, #4b5563 0%, #565c67 100%);
  color: #f9fafb;
  border-color: #4b5563;
}

.rm-dark .db-staff-name {
  color: #f9fafb;
}

.rm-dark .db-staff-orders {
  color: #9ca3af;
}

.rm-dark .db-staff-sales {
  color: #f9fafb;
}

.rm-dark .db-staff-avg {
  color: #9ca3af;
}

.rm-dark .db-staff-products-header {
  color: #9ca3af;
  border-bottom-color: #4b5563;
}

.rm-dark .db-staff-product-item {
  background: #35393f;
  border-color: #4b5563;
}

.rm-dark .db-staff-product-item:hover {
  background: #30353c;
  border-color: #FFA305;
}

.rm-dark .db-staff-product-name {
  color: #e5e7eb;
}

.rm-dark .db-staff-product-category {
  color: #9ca3af;
}

.rm-dark .db-staff-product-qty {
  color: #9ca3af;
}

.rm-dark .db-staff-product-amount {
  color: #f9fafb;
}

.rm-dark .db-staff-product-footer {
  border-top-color: #4b5563;
}

.rm-dark .db-staff-products-more-modern {
  background: #35393f;
  border-color: #4b5563;
  color: #9ca3af;
}

/* Quick Access Reports */
.rm-dark .db-quick-access-wrapper {
  background: #30353c;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.rm-dark .db-report-card {
  background: #30353c;
  border-color: #4b5563;
}

.rm-dark .db-report-card:hover {
  background: #484e58;
  border-color: #FFA305;
  box-shadow: 0 8px 24px rgba(255, 163, 5, 0.2);
}

.rm-dark .db-report-icon {
  background: linear-gradient(135deg, #4b5563 0%, #565c67 100%);
  color: #FFA305;
}

.rm-dark .db-report-title {
  color: #f9fafb;
}

.rm-dark .db-report-subtitle {
  color: #9ca3af;
}

/* Admin Actions */
.rm-dark .db-admin-actions-wrapper {
  background: #30353c;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.rm-dark .db-action-card {
  background: #30353c;
  border-color: #4b5563;
}

.rm-dark .db-action-card:hover {
  background: #484e58;
  border-color: #FFA305;
}

.rm-dark .db-action-icon {
  background: linear-gradient(135deg, #4b5563 0%, #565c67 100%);
  color: #FFA305;
}

.rm-dark .db-action-title {
  color: #f9fafb;
}

.rm-dark .db-action-desc {
  color: #9ca3af;
}

/* Hardware Products */
.rm-dark .db-hardware-wrapper {
  background: #30353c;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.rm-dark .db-hardware-card {
  background: #30353c;
  border-color: #4b5563;
}

.rm-dark .db-hardware-card:hover {
  background: #484e58;
  border-color: #FFA305;
}

.rm-dark .db-hardware-image {
  background: #35393f;
}

.rm-dark .db-hardware-title {
  color: #f9fafb;
}

.rm-dark .db-hardware-desc {
  color: #9ca3af;
}

.rm-dark .db-hardware-price {
  color: #FFA305;
}

/* Notification Center */
.rm-dark .db-notification-badge {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.rm-dark .db-notification-panel {
  background: rgba(48, 53, 60, 0.98);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.rm-dark .db-notification-header {
  border-bottom-color: #4b5563;
}

.rm-dark .db-notification-title {
  color: #f9fafb;
}

.rm-dark .db-notification-item {
  border-bottom-color: #4b5563;
}

.rm-dark .db-notification-item:hover {
  background: #30353c;
}

.rm-dark .db-notification-icon {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.rm-dark .db-notification-content h4 {
  color: #f9fafb;
}

.rm-dark .db-notification-content p {
  color: #9ca3af;
}

.rm-dark .db-notification-time {
  color: #6b7280;
}

.rm-dark .db-notification-empty {
  color: #9ca3af;
}

/* Empty States */
.rm-dark .db-empty-state {
  color: #9ca3af;
}

.rm-dark .db-empty-icon {
  color: #6b7280;
}

/* Loading States */
.rm-dark .db-loading-shimmer {
  background: linear-gradient(90deg, #30353c 0%, #4b5563 50%, #30353c 100%);
}

/* Scrollbars */
.rm-dark ::-webkit-scrollbar-track {
  background: #282d34;
}

.rm-dark ::-webkit-scrollbar-thumb {
  background: #4b5563;
}

.rm-dark ::-webkit-scrollbar-thumb:hover {
  background: #6b7280;
}

/* Show All Button */
.rm-dark .db-show-all-btn {
  background: #30353c;
  border-color: #4b5563;
  color: #e5e7eb;
}

.rm-dark .db-show-all-btn:hover {
  background: linear-gradient(135deg, #FFA305 0%, #FF8C00 100%);
  border-color: #FFA305;
  color: white;
}

/* Print Button */
.rm-dark .db-print-btn {
  background: linear-gradient(135deg, #4b5563 0%, #565c67 100%);
  color: #f9fafb;
}

.rm-dark .db-print-btn:hover {
  background: linear-gradient(135deg, #FFA305 0%, #FF8C00 100%);
}

/* Action Buttons */
.rm-dark .db-action-btn {
  background: #30353c;
  border-color: #4b5563;
  color: #e5e7eb;
}

.rm-dark .db-action-btn:hover {
  background: #484e58;
  border-color: #FFA305;
}

.rm-dark .db-action-btn-primary {
  background: linear-gradient(135deg, #FFA305 0%, #FF8C00 100%);
  color: white;
}

.rm-dark .db-action-btn-primary:hover {
  background: linear-gradient(135deg, #FF8C00 0%, #FFA305 100%);
}

/* Financial Summary Card */
.rm-dark .db-financial-summary-card {
  background: linear-gradient(135deg, #30353c 0%, #35393f 100%);
  border: 1px solid rgba(255, 163, 5, 0.2);
}

/* Hero Metrics Cards */
.rm-dark .db-hero-card {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 1px rgba(255, 255, 255, 0.1);
}

.rm-dark .db-hero-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Mini Stats Bar */
.rm-dark .db-mini-stats-bar {
  background: linear-gradient(135deg, #35393f 0%, #2d3138 100%);
  border: 1px solid #4b5563;
}

.rm-dark .db-mini-stat-pill {
  background: #30353c;
  border-color: #4b5563;
}

.rm-dark .db-mini-stat-pill:hover {
  background: #484e58;
  border-color: #FFA305;
  box-shadow: 0 4px 12px rgba(255, 163, 5, 0.25);
}

.rm-dark .db-mini-stat-pill-label {
  color: #9ca3af;
}

.rm-dark .db-mini-stat-pill-value {
  color: #f9fafb;
}

/* Compact Metrics Cards */
.rm-dark .db-compact-card {
  background: #30353c;
  border-color: #4b5563;
}

.rm-dark .db-compact-card:hover {
  background: #484e58;
  border-color: #FFA305;
  box-shadow: 0 8px 24px rgba(255, 163, 5, 0.2);
}

.rm-dark .db-compact-header {
  border-bottom-color: #4b5563;
}

.rm-dark .db-compact-title {
  color: #f9fafb;
}

.rm-dark .db-compact-badge {
  background: #35393f;
  color: #9ca3af;
}

.rm-dark .db-compact-stat {
  background: #35393f;
}

.rm-dark .db-compact-stat:hover {
  background: #30353c;
}

.rm-dark .db-compact-stat-label {
  color: #9ca3af;
}

.rm-dark .db-compact-stat-value {
  color: #f9fafb;
}

.rm-dark .db-compact-divider {
  background: linear-gradient(180deg, transparent, #4b5563, transparent);
}

/* Metric Groups */
.rm-dark .db-metric-group-simple {
  background: #30353c;
  border-color: #4b5563;
}

.rm-dark .db-metric-group-simple:hover {
  background: #484e58;
  border-color: #565c67;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.rm-dark .db-group-header-simple {
  border-bottom-color: #4b5563;
}

.rm-dark .db-group-title-simple {
  color: #f9fafb;
}

.rm-dark .db-group-subtitle {
  color: #9ca3af;
}

/* Metric Stats */
.rm-dark .db-metric-stat-item {
  background: #35393f;
}

.rm-dark .db-metric-stat-item:hover {
  background: #30353c;
}

.rm-dark .db-metric-stat-icon {
  background: #30353c;
  color: #9ca3af;
}

.rm-dark .db-metric-stat-label {
  color: #9ca3af;
}

.rm-dark .db-metric-stat-value {
  color: #f9fafb;
}

.rm-dark .db-metric-divider {
  background: linear-gradient(180deg, transparent, #4b5563, transparent);
}

/* Simple Metric Rows */
.rm-dark .db-simple-metric-row {
  background: #35393f;
}

.rm-dark .db-simple-metric-row:hover {
  background: #30353c;
}

.rm-dark .db-simple-metric-label {
  color: #9ca3af;
}

.rm-dark .db-simple-metric-value {
  color: #f9fafb;
}

/* Quick Access Section */
.rm-dark .db-quick-access-section {
  background: #30353c;
  border-color: #4b5563;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.rm-dark .db-quick-access-header h2 {
  color: #f9fafb;
}

.rm-dark .db-quick-access-subtitle {
  color: #9ca3af;
}

.rm-dark .db-quick-access-card {
  background: #35393f;
  border-color: #4b5563;
}

.rm-dark .db-quick-access-card:hover {
  background: #30353c;
  border-color: #FFA305;
  box-shadow: 0 8px 24px rgba(255, 163, 5, 0.2);
}

.rm-dark .db-quick-access-title {
  color: #f9fafb;
}

/* Payment Card Modern */
.rm-dark .db-payment-card-modern {
  background: #30353c;
  border-color: #4b5563;
}

.rm-dark .db-payment-card-modern:hover {
  background: #484e58;
  border-color: #FFA305;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.rm-dark .db-payment-title {
  color: #f9fafb;
}

.rm-dark .db-payment-amount-modern {
  color: #f9fafb;
}

.rm-dark .db-payment-amount-large {
  color: #f9fafb;
}

.rm-dark .db-payment-percentage-modern {
  color: #9ca3af;
}

.rm-dark .db-payment-stats-modern {
  border-top-color: #4b5563;
}

.rm-dark .db-payment-stat-item {
  color: #9ca3af;
}

/* Category Card Item */
.rm-dark .db-category-card-item {
  background: #30353c;
  border-color: #4b5563;
}

.rm-dark .db-category-card-item:hover {
  background: #484e58;
  border-color: #FFA305;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.rm-dark .db-category-title {
  color: #f9fafb;
}

.rm-dark .db-category-count {
  color: #9ca3af;
}

.rm-dark .db-category-amount {
  color: #f9fafb;
}

.rm-dark .db-category-sales-amount {
  color: #f9fafb;
}

.rm-dark .db-category-orders-count {
  color: #9ca3af;
}

/* Product Card Modern */
.rm-dark .db-product-card-modern {
  background: #30353c;
  border-color: #4b5563;
}

.rm-dark .db-product-card-modern:hover {
  background: #484e58;
  border-color: #FFA305;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.rm-dark .db-product-icon-modern {
  background: linear-gradient(135deg, #35393f 0%, #2d3138 100%);
  color: #9ca3af;
}

.rm-dark .db-product-card-modern:hover .db-product-icon-modern {
  background: linear-gradient(135deg, #4b5563 0%, #565c67 100%);
  color: #FFA305;
}

.rm-dark .db-product-title-modern {
  color: #f9fafb;
}

.rm-dark .db-product-category-badge,
.rm-dark .db-product-quantity-badge {
  background: #35393f;
  color: #9ca3af;
}

.rm-dark .db-product-sales-modern {
  color: #f9fafb;
}

/* Staff Card Item Modern */
.rm-dark .db-staff-card-item-modern {
  background: #30353c;
}

.rm-dark .db-staff-card-item-modern:hover {
  background: linear-gradient(135deg, #484e58 0%, #4b5563 100%);
}

.rm-dark .db-staff-card-item-modern.expanded {
  background: linear-gradient(135deg, #35393f 0%, #2d3138 100%);
}

.rm-dark .db-staff-name-modern {
  color: #f9fafb;
}

.rm-dark .db-staff-meta-item {
  color: #9ca3af;
}

.rm-dark .db-staff-meta-item i {
  color: #6b7280;
}

.rm-dark .db-staff-revenue-modern {
  color: #f9fafb;
}

.rm-dark .db-staff-expand-icon-modern {
  background: #35393f;
  color: #9ca3af;
}

.rm-dark .db-staff-card-item-modern:hover .db-staff-expand-icon-modern {
  background: #FFA305;
  color: white;
}

/* ============================================
   CHANNEL BREAKDOWN - Channel Performance
   ============================================ */

.db-channel-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  padding: 0 16px;
}

.db-channel-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #f8fafc;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.db-channel-item:hover {
  background: #f1f5f9;
  transform: translateX(4px);
}

.db-channel-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.db-channel-icon {
  font-size: 20px;
  width: 24px;
  text-align: center;
}

.db-channel-name {
  font-weight: 600;
  font-size: 14px;
  color: #1a202c;
}

.db-channel-right {
  text-align: right;
}

.db-channel-value {
  font-weight: 700;
  font-size: 16px;
  color: #1e293b;
  margin-bottom: 2px;
}

.db-channel-percentage {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.db-empty-state {
  text-align: center;
  padding: 60px;
  font-size: 16px;
  color: #999;
}

.db-empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}

/* Dark Mode - Channel Breakdown */
.rm-dark .db-channel-item {
  background: #35393f;
}

.rm-dark .db-channel-item:hover {
  background: #30353c;
}

.rm-dark .db-channel-name {
  color: #f9fafb;
}

.rm-dark .db-channel-value {
  color: #f9fafb;
}

.rm-dark .db-channel-percentage {
  color: #9ca3af;
}

.rm-dark .db-empty-state {
  color: #9ca3af;
}

.rm-dark .db-empty-icon {
  color: #6b7280;
}

/* ============================================
   WEEKLY SALES - Daily Distribution
   ============================================ */

.db-weekly-refresh-note {
  text-align: center;
  padding: 8px 16px;
  font-size: 12px;
  color: #64748b;
  border-top: 1px solid #f1f5f9;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.db-weekly-refresh-icon {
  font-size: 11px;
  opacity: 0.7;
}

/* Dark Mode - Weekly Sales */
.rm-dark .db-weekly-refresh-note {
  border-top-color: #4b5563;
  color: #9ca3af;
}

/* ============================================
   QUICK HIGHLIGHTS - Important Metrics
   ============================================ */

.db-highlights-grid {
  display: grid;
  gap: 16px;
  padding: 8px 0;
}

.db-highlights-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.db-highlights-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.db-highlights-grid-auto {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.db-highlight-card {
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  transition: transform 0.2s;
  cursor: default;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.db-highlight-card:hover {
  transform: translateY(-2px);
}

.db-highlight-card-blue {
  background: #EFF6FF;
}

.db-highlight-card-green {
  background: #F0FDF4;
}

.db-highlight-card-orange {
  background: #FFFBEB;
}

.db-highlight-card-purple {
  background: #F5F3FF;
}

.db-highlight-card-pink {
  background: #FDF2F8;
}

.db-highlight-icon-wrapper {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.db-highlight-icon {
  font-size: 22px;
}

.db-highlight-icon-blue {
  color: #3B82F6;
}

.db-highlight-icon-green {
  color: #10B981;
}

.db-highlight-icon-orange {
  color: #F59E0B;
}

.db-highlight-icon-purple {
  color: #8B5CF6;
}

.db-highlight-icon-pink {
  color: #EC4899;
}

.db-highlight-label {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.db-highlight-value {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  word-break: break-word;
}

/* Dark Mode - Quick Highlights */
.rm-dark .db-highlight-card {
  border-color: rgba(255, 255, 255, 0.05);
}

.rm-dark .db-highlight-card-blue {
  background: rgba(59, 130, 246, 0.15);
}

.rm-dark .db-highlight-card-green {
  background: rgba(16, 185, 129, 0.15);
}

.rm-dark .db-highlight-card-orange {
  background: rgba(245, 158, 11, 0.15);
}

.rm-dark .db-highlight-card-purple {
  background: rgba(139, 92, 246, 0.15);
}

.rm-dark .db-highlight-card-pink {
  background: rgba(236, 72, 153, 0.15);
}

.rm-dark .db-highlight-icon-wrapper {
  background: #1e293b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.rm-dark .db-highlight-label {
  color: #9ca3af;
}

.rm-dark .db-highlight-value {
  color: #f9fafb;
}

/* ============================================
   SEASONAL ANALYSIS - Season Performance
   ============================================ */

.db-season-badge {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 12px;
  font-weight: 600;
}

.db-season-badge-icon {
  margin-right: 6px;
}

.db-season-badge-spring {
  background: #ECFDF5;
  color: #10B981;
}

.db-season-badge-summer {
  background: #FEF3C7;
  color: #F59E0B;
}

.db-season-badge-autumn {
  background: #FEE2E2;
  color: #EF4444;
}

.db-season-badge-winter {
  background: #DBEAFE;
  color: #3B82F6;
}

.db-seasonal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.db-season-card {
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: default;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.db-season-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.db-season-card-best {
  border-width: 2px;
}

.db-season-card-spring {
  background: #ECFDF5;
}

.db-season-card-spring.db-season-card-best {
  border-color: #10B981;
}

.db-season-card-summer {
  background: #FEF3C7;
}

.db-season-card-summer.db-season-card-best {
  border-color: #F59E0B;
}

.db-season-card-autumn {
  background: #FEE2E2;
}

.db-season-card-autumn.db-season-card-best {
  border-color: #EF4444;
}

.db-season-card-winter {
  background: #DBEAFE;
}

.db-season-card-winter.db-season-card-best {
  border-color: #3B82F6;
}

.db-season-icon-wrapper {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.db-season-icon {
  font-size: 24px;
}

.db-season-icon-spring {
  color: #10B981;
}

.db-season-icon-summer {
  color: #F59E0B;
}

.db-season-icon-autumn {
  color: #EF4444;
}

.db-season-icon-winter {
  color: #3B82F6;
}

.db-season-name {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.db-season-name-spring {
  color: #10B981;
}

.db-season-name-summer {
  color: #F59E0B;
}

.db-season-name-autumn {
  color: #EF4444;
}

.db-season-name-winter {
  color: #3B82F6;
}

.db-season-revenue {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
}

.db-season-revenue-label {
  font-size: 11px;
  color: #64748b;
  margin-bottom: 8px;
}

.db-season-stats {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #64748b;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 8px;
  margin-top: 8px;
}

.db-season-stat-value {
  font-weight: 600;
  color: #1e293b;
}

.db-season-stat-profit-spring {
  color: #10B981;
}

.db-season-stat-profit-summer {
  color: #F59E0B;
}

.db-season-stat-profit-autumn {
  color: #EF4444;
}

.db-season-stat-profit-winter {
  color: #3B82F6;
}

.db-season-note {
  font-size: 10px;
  color: #94a3b8;
  margin-top: 8px;
  font-style: italic;
}

/* Dark Mode - Seasonal Analysis */
.rm-dark .db-season-badge-spring {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.rm-dark .db-season-badge-summer {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

.rm-dark .db-season-badge-autumn {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.rm-dark .db-season-badge-winter {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

.rm-dark .db-season-card {
  border-color: rgba(255, 255, 255, 0.05);
}

.rm-dark .db-season-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.rm-dark .db-season-card-spring {
  background: rgba(16, 185, 129, 0.15);
}

.rm-dark .db-season-card-summer {
  background: rgba(245, 158, 11, 0.15);
}

.rm-dark .db-season-card-autumn {
  background: rgba(239, 68, 68, 0.15);
}

.rm-dark .db-season-card-winter {
  background: rgba(59, 130, 246, 0.15);
}

.rm-dark .db-season-icon-wrapper {
  background: #1e293b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.rm-dark .db-season-icon-spring {
  color: #34d399;
}

.rm-dark .db-season-icon-summer {
  color: #fbbf24;
}

.rm-dark .db-season-icon-autumn {
  color: #f87171;
}

.rm-dark .db-season-icon-winter {
  color: #60a5fa;
}

.rm-dark .db-season-name-spring {
  color: #34d399;
}

.rm-dark .db-season-name-summer {
  color: #fbbf24;
}

.rm-dark .db-season-name-autumn {
  color: #f87171;
}

.rm-dark .db-season-name-winter {
  color: #60a5fa;
}

.rm-dark .db-season-revenue {
  color: #f9fafb;
}

.rm-dark .db-season-revenue-label {
  color: #9ca3af;
}

.rm-dark .db-season-stats {
  border-top-color: rgba(255, 255, 255, 0.1);
  color: #9ca3af;
}

.rm-dark .db-season-stat-value {
  color: #f9fafb;
}

.rm-dark .db-season-stat-profit-spring {
  color: #34d399;
}

.rm-dark .db-season-stat-profit-summer {
  color: #fbbf24;
}

.rm-dark .db-season-stat-profit-autumn {
  color: #f87171;
}

.rm-dark .db-season-stat-profit-winter {
  color: #60a5fa;
}

.rm-dark .db-season-note {
  color: #6b7280;
}

/* ============================================
   PEAK OFF-PEAK ANALYSIS - Best vs Worst
   ============================================ */

.db-peak-offpeak-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.db-peak-section {
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
  border-radius: 12px;
  padding: 20px;
  border: 2px solid #10B981;
}

.db-offpeak-section {
  background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%);
  border-radius: 12px;
  padding: 20px;
  border: 2px solid #EF4444;
}

.db-peak-header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.db-peak-icon-wrapper {
  width: 40px;
  height: 40px;
  background: #10B981;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
}

.db-peak-icon {
  color: white;
  font-size: 18px;
}

.db-peak-title {
  font-size: 14px;
  font-weight: 700;
  color: #059669;
  margin: 0;
}

.db-peak-subtitle {
  font-size: 11px;
  color: #047857;
  margin: 0;
}

.db-offpeak-icon-wrapper {
  width: 40px;
  height: 40px;
  background: #EF4444;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
}

.db-offpeak-icon {
  color: white;
  font-size: 18px;
}

.db-offpeak-title {
  font-size: 14px;
  font-weight: 700;
  color: #DC2626;
  margin: 0;
}

.db-offpeak-subtitle {
  font-size: 11px;
  color: #B91C1C;
  margin: 0;
}

.db-peak-month-item,
.db-offpeak-month-item {
  background: white;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.db-peak-month-item:last-child,
.db-offpeak-month-item:last-child {
  margin-bottom: 0;
}

.db-peak-month-name,
.db-offpeak-month-name {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 2px;
}

.db-peak-month-crown {
  color: #F59E0B;
  margin-right: 6px;
}

.db-peak-month-orders,
.db-offpeak-month-orders {
  font-size: 11px;
  color: #64748b;
}

.db-peak-month-revenue {
  font-size: 14px;
  font-weight: 700;
  color: #10B981;
}

.db-offpeak-month-revenue {
  font-size: 14px;
  font-weight: 700;
  color: #EF4444;
}

.db-peak-offpeak-summary {
  margin-top: 20px;
  padding: 16px;
  background: #F8FAFC;
  border-radius: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.db-peak-offpeak-stat {
  text-align: center;
}

.db-peak-offpeak-stat-label {
  font-size: 11px;
  color: #64748b;
  margin-bottom: 4px;
}

.db-peak-offpeak-stat-value-best {
  font-size: 16px;
  font-weight: 700;
  color: #10B981;
}

.db-peak-offpeak-stat-value-worst {
  font-size: 16px;
  font-weight: 700;
  color: #EF4444;
}

.db-peak-offpeak-stat-value-gap {
  font-size: 16px;
  font-weight: 700;
  color: #F59E0B;
}

.db-peak-offpeak-stat-amount {
  font-size: 13px;
  color: #1e293b;
  margin-top: 2px;
}

.db-peak-offpeak-stat-extra {
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
}

.db-peak-offpeak-stat-icon {
  margin-right: 4px;
}

/* Dark Mode - Peak Off-Peak Analysis */
.rm-dark .db-peak-section {
  background: rgba(16, 185, 129, 0.15);
  border-color: #34d399;
}

.rm-dark .db-offpeak-section {
  background: rgba(239, 68, 68, 0.15);
  border-color: #f87171;
}

.rm-dark .db-peak-icon-wrapper {
  background: #059669;
}

.rm-dark .db-offpeak-icon-wrapper {
  background: #DC2626;
}

.rm-dark .db-peak-title {
  color: #34d399;
}

.rm-dark .db-peak-subtitle {
  color: #6ee7b7;
}

.rm-dark .db-offpeak-title {
  color: #f87171;
}

.rm-dark .db-offpeak-subtitle {
  color: #fca5a5;
}

.rm-dark .db-peak-month-item,
.rm-dark .db-offpeak-month-item {
  background: #1e293b;
}

.rm-dark .db-peak-month-name,
.rm-dark .db-offpeak-month-name {
  color: #f9fafb;
}

.rm-dark .db-peak-month-orders,
.rm-dark .db-offpeak-month-orders {
  color: #9ca3af;
}

.rm-dark .db-peak-month-revenue {
  color: #34d399;
}

.rm-dark .db-offpeak-month-revenue {
  color: #f87171;
}

.rm-dark .db-peak-offpeak-summary {
  background: #1e293b;
}

.rm-dark .db-peak-offpeak-stat-label {
  color: #9ca3af;
}

.rm-dark .db-peak-offpeak-stat-value-best {
  color: #34d399;
}

.rm-dark .db-peak-offpeak-stat-value-worst {
  color: #f87171;
}

.rm-dark .db-peak-offpeak-stat-value-gap {
  color: #fbbf24;
}

.rm-dark .db-peak-offpeak-stat-amount {
  color: #f9fafb;
}

.rm-dark .db-peak-offpeak-stat-extra {
  color: #9ca3af;
}

/* ============================================
   GROWTH RATES - Quarterly Analysis
   ============================================ */

.db-growth-badge {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 12px;
  font-weight: 600;
}

.db-growth-badge-positive {
  background: #D1FAE5;
  color: #065F46;
}

.db-growth-badge-negative {
  background: #FEE2E2;
  color: #991B1B;
}

.db-growth-badge-icon {
  margin-right: 6px;
}

.db-growth-quarters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.db-quarter-card {
  border-radius: 12px;
  padding: 20px;
  border: 2px solid;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: default;
}

.db-quarter-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.db-quarter-card-q1 {
  background: #EFF6FF;
  border-color: #3B82F6;
}

.db-quarter-card-q2 {
  background: #ECFDF5;
  border-color: #10B981;
}

.db-quarter-card-q3 {
  background: #FEF3C7;
  border-color: #F59E0B;
}

.db-quarter-card-q4 {
  background: #F3E8FF;
  border-color: #8B5CF6;
}

.db-quarter-bg-badge {
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 80px;
  font-weight: 900;
  opacity: 0.1;
}

.db-quarter-bg-badge-q1 {
  color: #3B82F6;
}

.db-quarter-bg-badge-q2 {
  color: #10B981;
}

.db-quarter-bg-badge-q3 {
  color: #F59E0B;
}

.db-quarter-bg-badge-q4 {
  color: #8B5CF6;
}

.db-quarter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.db-quarter-name {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.db-quarter-name-q1 {
  color: #3B82F6;
}

.db-quarter-name-q2 {
  color: #10B981;
}

.db-quarter-name-q3 {
  color: #F59E0B;
}

.db-quarter-name-q4 {
  color: #8B5CF6;
}

.db-quarter-months {
  font-size: 10px;
  color: #64748b;
  margin-top: 2px;
}

.db-quarter-growth-badge {
  padding: 6px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.db-quarter-growth-positive {
  background: #D1FAE5;
}

.db-quarter-growth-negative {
  background: #FEE2E2;
}

.db-quarter-growth-neutral {
  background: #F1F5F9;
}

.db-quarter-growth-icon {
  font-size: 10px;
}

.db-quarter-growth-icon-positive {
  color: #065F46;
}

.db-quarter-growth-icon-negative {
  color: #991B1B;
}

.db-quarter-growth-value {
  font-size: 11px;
  font-weight: 700;
}

.db-quarter-growth-value-positive {
  color: #065F46;
}

.db-quarter-growth-value-negative {
  color: #991B1B;
}

.db-quarter-growth-value-neutral {
  color: #64748b;
}

.db-quarter-revenue {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.db-quarter-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.db-quarter-detail-label {
  font-size: 11px;
  color: #64748b;
}

.db-quarter-detail-value {
  font-size: 13px;
  font-weight: 600;
}

.db-quarter-detail-value-q1 {
  color: #3B82F6;
}

.db-quarter-detail-value-q2 {
  color: #10B981;
}

.db-quarter-detail-value-q3 {
  color: #F59E0B;
}

.db-quarter-detail-value-q4 {
  color: #8B5CF6;
}

.db-quarter-note {
  margin-top: 8px;
  font-size: 10px;
  color: #94a3b8;
  text-align: center;
  font-style: italic;
}

.db-growth-summary {
  padding: 20px;
  background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
  border-radius: 12px;
  border: 2px solid #CBD5E1;
}

.db-growth-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  text-align: center;
}

.db-growth-summary-item-label {
  font-size: 11px;
  color: #64748b;
  margin-bottom: 6px;
  font-weight: 600;
}

.db-growth-summary-item-value {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
}

.db-growth-summary-item-value-best {
  font-size: 16px;
  font-weight: 700;
  color: #10B981;
}

.db-growth-summary-item-extra {
  font-size: 13px;
  color: #64748b;
  margin-top: 2px;
}

/* Dark Mode - Growth Rates */
.rm-dark .db-growth-badge-positive {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.rm-dark .db-growth-badge-negative {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.rm-dark .db-quarter-card {
  border-color: inherit;
}

.rm-dark .db-quarter-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.rm-dark .db-quarter-card-q1 {
  background: rgba(59, 130, 246, 0.15);
  border-color: #60a5fa;
}

.rm-dark .db-quarter-card-q2 {
  background: rgba(16, 185, 129, 0.15);
  border-color: #34d399;
}

.rm-dark .db-quarter-card-q3 {
  background: rgba(245, 158, 11, 0.15);
  border-color: #fbbf24;
}

.rm-dark .db-quarter-card-q4 {
  background: rgba(139, 92, 246, 0.15);
  border-color: #a78bfa;
}

.rm-dark .db-quarter-bg-badge-q1 {
  color: #60a5fa;
}

.rm-dark .db-quarter-bg-badge-q2 {
  color: #34d399;
}

.rm-dark .db-quarter-bg-badge-q3 {
  color: #fbbf24;
}

.rm-dark .db-quarter-bg-badge-q4 {
  color: #a78bfa;
}

.rm-dark .db-quarter-name-q1 {
  color: #60a5fa;
}

.rm-dark .db-quarter-name-q2 {
  color: #34d399;
}

.rm-dark .db-quarter-name-q3 {
  color: #fbbf24;
}

.rm-dark .db-quarter-name-q4 {
  color: #a78bfa;
}

.rm-dark .db-quarter-months {
  color: #9ca3af;
}

.rm-dark .db-quarter-growth-positive {
  background: rgba(16, 185, 129, 0.2);
}

.rm-dark .db-quarter-growth-negative {
  background: rgba(239, 68, 68, 0.2);
}

.rm-dark .db-quarter-growth-neutral {
  background: rgba(148, 163, 184, 0.2);
}

.rm-dark .db-quarter-growth-icon-positive {
  color: #34d399;
}

.rm-dark .db-quarter-growth-icon-negative {
  color: #f87171;
}

.rm-dark .db-quarter-growth-value-positive {
  color: #34d399;
}

.rm-dark .db-quarter-growth-value-negative {
  color: #f87171;
}

.rm-dark .db-quarter-growth-value-neutral {
  color: #9ca3af;
}

.rm-dark .db-quarter-revenue {
  color: #f9fafb;
}

.rm-dark .db-quarter-details {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.rm-dark .db-quarter-detail-label {
  color: #9ca3af;
}

.rm-dark .db-quarter-detail-value-q1 {
  color: #60a5fa;
}

.rm-dark .db-quarter-detail-value-q2 {
  color: #34d399;
}

.rm-dark .db-quarter-detail-value-q3 {
  color: #fbbf24;
}

.rm-dark .db-quarter-detail-value-q4 {
  color: #a78bfa;
}

.rm-dark .db-quarter-note {
  color: #6b7280;
}

.rm-dark .db-growth-summary {
  background: linear-gradient(135deg, #1e293b 0%, #30353c 100%);
  border-color: #475569;
}

.rm-dark .db-growth-summary-item-label {
  color: #9ca3af;
}

.rm-dark .db-growth-summary-item-value {
  color: #f9fafb;
}

.rm-dark .db-growth-summary-item-value-best {
  color: #34d399;
}

.rm-dark .db-growth-summary-item-extra {
  color: #9ca3af;
}

/* ============================================
   CHANNEL TREND CHART - Sales Channel Analysis
   ============================================ */

.db-channel-chart-container {
  height: 280px;
  position: relative;
  margin-bottom: 20px;
}

.db-channel-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

/* Channel Cards - Table (Blue) */
.db-channel-card-table {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border-radius: 10px;
  padding: 16px;
  border: 2px solid #3B82F6;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.db-channel-card-table:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(59, 130, 246, 0.2);
}

.db-channel-icon-wrapper-table {
  width: 40px;
  height: 40px;
  background: #3B82F6;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  transition: transform 0.2s;
}

.db-channel-card-table:hover .db-channel-icon-wrapper-table {
  transform: rotate(-10deg) scale(1.1);
}

.db-channel-icon-table {
  color: white;
  font-size: 18px;
}

.db-channel-label-table {
  font-size: 11px;
  color: #1E40AF;
  font-weight: 600;
  margin-bottom: 6px;
}

.db-channel-value-table {
  font-size: 20px;
  font-weight: 700;
  color: #1E40AF;
}

.db-channel-percent-table {
  font-size: 13px;
  color: #3B82F6;
  margin-top: 6px;
  font-weight: 600;
}

/* Channel Cards - Packet (Orange) */
.db-channel-card-packet {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border-radius: 10px;
  padding: 16px;
  border: 2px solid #F59E0B;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.db-channel-card-packet:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(245, 158, 11, 0.2);
}

.db-channel-icon-wrapper-packet {
  width: 40px;
  height: 40px;
  background: #F59E0B;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  transition: transform 0.2s;
}

.db-channel-card-packet:hover .db-channel-icon-wrapper-packet {
  transform: rotate(-10deg) scale(1.1);
}

.db-channel-icon-packet {
  color: white;
  font-size: 18px;
}

.db-channel-label-packet {
  font-size: 11px;
  color: #92400E;
  font-weight: 600;
  margin-bottom: 6px;
}

.db-channel-value-packet {
  font-size: 20px;
  font-weight: 700;
  color: #92400E;
}

.db-channel-percent-packet {
  font-size: 13px;
  color: #F59E0B;
  margin-top: 6px;
  font-weight: 600;
}

/* Channel Cards - Customer (Green) */
.db-channel-card-customer {
  background: linear-gradient(135deg, #F0FDF4 0%, #D1FAE5 100%);
  border-radius: 10px;
  padding: 16px;
  border: 2px solid #10B981;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.db-channel-card-customer:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(16, 185, 129, 0.2);
}

.db-channel-icon-wrapper-customer {
  width: 40px;
  height: 40px;
  background: #10B981;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  transition: transform 0.2s;
}

.db-channel-card-customer:hover .db-channel-icon-wrapper-customer {
  transform: rotate(-10deg) scale(1.1);
}

.db-channel-icon-customer {
  color: white;
  font-size: 18px;
}

.db-channel-label-customer {
  font-size: 11px;
  color: #065F46;
  font-weight: 600;
  margin-bottom: 6px;
}

.db-channel-value-customer {
  font-size: 20px;
  font-weight: 700;
  color: #065F46;
}

.db-channel-percent-customer {
  font-size: 13px;
  color: #10B981;
  margin-top: 6px;
  font-weight: 600;
}

/* Dark Mode - Channel Trend Chart */
.rm-dark .db-channel-card-table {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.1) 100%);
  border-color: #60a5fa;
}

.rm-dark .db-channel-card-table:hover {
  box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3);
}

.rm-dark .db-channel-icon-wrapper-table {
  background: #60a5fa;
}

.rm-dark .db-channel-label-table {
  color: #93c5fd;
}

.rm-dark .db-channel-value-table {
  color: #dbeafe;
}

.rm-dark .db-channel-percent-table {
  color: #60a5fa;
}

.rm-dark .db-channel-card-packet {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.1) 100%);
  border-color: #fbbf24;
}

.rm-dark .db-channel-card-packet:hover {
  box-shadow: 0 8px 16px rgba(245, 158, 11, 0.3);
}

.rm-dark .db-channel-icon-wrapper-packet {
  background: #fbbf24;
}

.rm-dark .db-channel-label-packet {
  color: #fcd34d;
}

.rm-dark .db-channel-value-packet {
  color: #fef3c7;
}

.rm-dark .db-channel-percent-packet {
  color: #fbbf24;
}

.rm-dark .db-channel-card-customer {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.1) 100%);
  border-color: #34d399;
}

.rm-dark .db-channel-card-customer:hover {
  box-shadow: 0 8px 16px rgba(16, 185, 129, 0.3);
}

.rm-dark .db-channel-icon-wrapper-customer {
  background: #34d399;
}

.rm-dark .db-channel-label-customer {
  color: #6ee7b7;
}

.rm-dark .db-channel-value-customer {
  color: #d1fae5;
}

.rm-dark .db-channel-percent-customer {
  color: #34d399;
}

/* ============================================
   CATEGORY GROWTH ANALYSIS - Category Performance
   ============================================ */

.db-category-header-badge {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.db-category-header-badge-positive {
  background: #D1FAE5;
  color: #065F46;
}

.db-category-header-badge-negative {
  background: #FEE2E2;
  color: #991B1B;
}

.db-category-growth-grid {
  display: grid;
  gap: 12px;
}

.db-category-growth-item {
  background: linear-gradient(to right, #f8fafc 0%, #ffffff 100%);
  border-radius: 12px;
  padding: 16px;
  border: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s;
  cursor: default;
  flex-wrap: wrap;
}

.db-category-growth-item:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.db-category-growth-rank {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.db-category-growth-rank-1 {
  background: linear-gradient(135deg, #3B82F6 0%, #1E40AF 100%);
}

.db-category-growth-rank-2 {
  background: linear-gradient(135deg, #10B981 0%, #065F46 100%);
}

.db-category-growth-rank-3 {
  background: linear-gradient(135deg, #F59E0B 0%, #92400E 100%);
}

.db-category-growth-rank-default {
  background: linear-gradient(135deg, #64748b 0%, #334155 100%);
}

.db-category-growth-info {
  flex: 1 1 200px;
  min-width: 0;
}

.db-category-growth-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}

.db-category-growth-name {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1 1 auto;
  min-width: 100px;
}

.db-category-growth-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 8px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.db-category-growth-badge-positive {
  background: #D1FAE5;
  color: #065F46;
}

.db-category-growth-badge-negative {
  background: #FEE2E2;
  color: #991B1B;
}

.db-category-growth-badge-icon {
  font-size: 10px;
}

.db-category-growth-progress {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.db-category-growth-progress-fill {
  height: 100%;
  transition: width 0.3s ease;
}

.db-category-growth-progress-fill-1 {
  background: #3B82F6;
}

.db-category-growth-progress-fill-2 {
  background: #10B981;
}

.db-category-growth-progress-fill-3 {
  background: #F59E0B;
}

.db-category-growth-progress-fill-default {
  background: #64748b;
}

.db-category-growth-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #64748b;
  flex-wrap: wrap;
  gap: 8px;
}

.db-category-growth-revenue {
  flex-shrink: 0;
  font-weight: 700;
  color: #1e293b;
}

.db-category-growth-details {
  flex-shrink: 0;
}

.db-category-growth-warning {
  margin-top: 16px;
  padding: 12px;
  background: #FEF3C7;
  border-radius: 8px;
  border: 1px solid #F59E0B;
  font-size: 11px;
  color: #92400E;
  text-align: center;
  font-style: italic;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.db-category-growth-warning-icon {
  flex-shrink: 0;
}

/* Dark Mode - Category Growth Analysis */
.rm-dark .db-category-header-badge-positive {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.rm-dark .db-category-header-badge-negative {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.rm-dark .db-category-growth-item {
  background: linear-gradient(to right, #1e293b 0%, #30353c 100%);
  border-color: #334155;
}

.rm-dark .db-category-growth-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.rm-dark .db-category-growth-rank-1 {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
}

.rm-dark .db-category-growth-rank-2 {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
}

.rm-dark .db-category-growth-rank-3 {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.rm-dark .db-category-growth-rank-default {
  background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
}

.rm-dark .db-category-growth-name {
  color: #f9fafb;
}

.rm-dark .db-category-growth-badge-positive {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.rm-dark .db-category-growth-badge-negative {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.rm-dark .db-category-growth-progress {
  background: #374151;
}

.rm-dark .db-category-growth-progress-fill-1 {
  background: #60a5fa;
}

.rm-dark .db-category-growth-progress-fill-2 {
  background: #34d399;
}

.rm-dark .db-category-growth-progress-fill-3 {
  background: #fbbf24;
}

.rm-dark .db-category-growth-progress-fill-default {
  background: #94a3b8;
}

.rm-dark .db-category-growth-stats {
  color: #9ca3af;
}

.rm-dark .db-category-growth-revenue {
  color: #f9fafb;
}

.rm-dark .db-category-growth-warning {
  background: rgba(245, 158, 11, 0.15);
  border-color: #fbbf24;
  color: #fcd34d;
}

/* ============================================
   CATEGORY MONTHLY MATRIX - Category Performance Bars
   ============================================ */

.db-category-matrix-list {
  margin-bottom: 20px;
}

.db-category-matrix-item {
  margin-bottom: 12px;
  border-radius: 10px;
  padding: 12px 16px;
  border: 2px solid;
  transition: transform 0.2s;
  cursor: default;
}

.db-category-matrix-item:hover {
  transform: translateX(4px);
}

/* Color Schemes for Categories */
.db-category-matrix-item-1 {
  background: #EFF6FF;
  border-color: #3B82F6;
}

.db-category-matrix-item-2 {
  background: #F0FDF4;
  border-color: #10B981;
}

.db-category-matrix-item-3 {
  background: #FEF3C7;
  border-color: #F59E0B;
}

.db-category-matrix-item-4 {
  background: #FCE7F3;
  border-color: #EC4899;
}

.db-category-matrix-item-5 {
  background: #F3E8FF;
  border-color: #8B5CF6;
}

.db-category-matrix-item-6 {
  background: #FEE2E2;
  border-color: #EF4444;
}

.db-category-matrix-item-7 {
  background: #E0F2FE;
  border-color: #06B6D4;
}

.db-category-matrix-item-8 {
  background: #FED7AA;
  border-color: #FB923C;
}

.db-category-matrix-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.db-category-matrix-left {
  display: flex;
  align-items: center;
  flex: 1;
}

.db-category-matrix-rank {
  width: 32px;
  height: 32px;
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  font-weight: 700;
  font-size: 14px;
}

.db-category-matrix-rank-1 {
  color: #1E40AF;
}

.db-category-matrix-rank-2 {
  color: #065F46;
}

.db-category-matrix-rank-3 {
  color: #92400E;
}

.db-category-matrix-rank-4 {
  color: #9F1239;
}

.db-category-matrix-rank-5 {
  color: #5B21B6;
}

.db-category-matrix-rank-6 {
  color: #991B1B;
}

.db-category-matrix-rank-7 {
  color: #0E7490;
}

.db-category-matrix-rank-8 {
  color: #9A3412;
}

.db-category-matrix-info {
  flex: 1;
}

.db-category-matrix-name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.db-category-matrix-name-1 {
  color: #1E40AF;
}

.db-category-matrix-name-2 {
  color: #065F46;
}

.db-category-matrix-name-3 {
  color: #92400E;
}

.db-category-matrix-name-4 {
  color: #9F1239;
}

.db-category-matrix-name-5 {
  color: #5B21B6;
}

.db-category-matrix-name-6 {
  color: #991B1B;
}

.db-category-matrix-name-7 {
  color: #0E7490;
}

.db-category-matrix-name-8 {
  color: #9A3412;
}

.db-category-matrix-subtitle {
  font-size: 11px;
  color: #64748b;
}

.db-category-matrix-revenue {
  font-size: 16px;
  font-weight: 700;
}

.db-category-matrix-revenue-1 {
  color: #1E40AF;
}

.db-category-matrix-revenue-2 {
  color: #065F46;
}

.db-category-matrix-revenue-3 {
  color: #92400E;
}

.db-category-matrix-revenue-4 {
  color: #9F1239;
}

.db-category-matrix-revenue-5 {
  color: #5B21B6;
}

.db-category-matrix-revenue-6 {
  color: #991B1B;
}

.db-category-matrix-revenue-7 {
  color: #0E7490;
}

.db-category-matrix-revenue-8 {
  color: #9A3412;
}

.db-category-matrix-progress {
  width: 100%;
  height: 8px;
  background: white;
  border-radius: 4px;
  overflow: hidden;
}

.db-category-matrix-progress-fill {
  height: 100%;
  transition: width 0.3s ease;
}

.db-category-matrix-progress-fill-1 {
  background: linear-gradient(90deg, #3B82F6 0%, #1E40AF 100%);
}

.db-category-matrix-progress-fill-2 {
  background: linear-gradient(90deg, #10B981 0%, #065F46 100%);
}

.db-category-matrix-progress-fill-3 {
  background: linear-gradient(90deg, #F59E0B 0%, #92400E 100%);
}

.db-category-matrix-progress-fill-4 {
  background: linear-gradient(90deg, #EC4899 0%, #9F1239 100%);
}

.db-category-matrix-progress-fill-5 {
  background: linear-gradient(90deg, #8B5CF6 0%, #5B21B6 100%);
}

.db-category-matrix-progress-fill-6 {
  background: linear-gradient(90deg, #EF4444 0%, #991B1B 100%);
}

.db-category-matrix-progress-fill-7 {
  background: linear-gradient(90deg, #06B6D4 0%, #0E7490 100%);
}

.db-category-matrix-progress-fill-8 {
  background: linear-gradient(90deg, #FB923C 0%, #9A3412 100%);
}

.db-category-matrix-summary {
  padding: 16px;
  background: #F8FAFC;
  border-radius: 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.db-category-matrix-summary-item {
  text-align: center;
}

.db-category-matrix-summary-label {
  font-size: 11px;
  color: #64748b;
  margin-bottom: 4px;
}

.db-category-matrix-summary-value {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
}

.db-category-matrix-summary-value-small {
  font-size: 14px;
  font-weight: 700;
}

.db-category-matrix-summary-value-success {
  color: #10B981;
}

.db-category-matrix-summary-value-info {
  color: #3B82F6;
}

.db-category-matrix-summary-extra {
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
}

/* Dark Mode - Category Monthly Matrix */
.rm-dark .db-category-matrix-item-1 {
  background: rgba(59, 130, 246, 0.15);
  border-color: #60a5fa;
}

.rm-dark .db-category-matrix-item-2 {
  background: rgba(16, 185, 129, 0.15);
  border-color: #34d399;
}

.rm-dark .db-category-matrix-item-3 {
  background: rgba(245, 158, 11, 0.15);
  border-color: #fbbf24;
}

.rm-dark .db-category-matrix-item-4 {
  background: rgba(236, 72, 153, 0.15);
  border-color: #f472b6;
}

.rm-dark .db-category-matrix-item-5 {
  background: rgba(139, 92, 246, 0.15);
  border-color: #a78bfa;
}

.rm-dark .db-category-matrix-item-6 {
  background: rgba(239, 68, 68, 0.15);
  border-color: #f87171;
}

.rm-dark .db-category-matrix-item-7 {
  background: rgba(6, 182, 212, 0.15);
  border-color: #22d3ee;
}

.rm-dark .db-category-matrix-item-8 {
  background: rgba(251, 146, 60, 0.15);
  border-color: #fb923c;
}

.rm-dark .db-category-matrix-rank {
  background: rgba(255, 255, 255, 0.1);
}

.rm-dark .db-category-matrix-rank-1 {
  color: #93c5fd;
}

.rm-dark .db-category-matrix-rank-2 {
  color: #6ee7b7;
}

.rm-dark .db-category-matrix-rank-3 {
  color: #fcd34d;
}

.rm-dark .db-category-matrix-rank-4 {
  color: #f9a8d4;
}

.rm-dark .db-category-matrix-rank-5 {
  color: #c4b5fd;
}

.rm-dark .db-category-matrix-rank-6 {
  color: #fca5a5;
}

.rm-dark .db-category-matrix-rank-7 {
  color: #67e8f9;
}

.rm-dark .db-category-matrix-rank-8 {
  color: #fdba74;
}

.rm-dark .db-category-matrix-name-1 {
  color: #93c5fd;
}

.rm-dark .db-category-matrix-name-2 {
  color: #6ee7b7;
}

.rm-dark .db-category-matrix-name-3 {
  color: #fcd34d;
}

.rm-dark .db-category-matrix-name-4 {
  color: #f9a8d4;
}

.rm-dark .db-category-matrix-name-5 {
  color: #c4b5fd;
}

.rm-dark .db-category-matrix-name-6 {
  color: #fca5a5;
}

.rm-dark .db-category-matrix-name-7 {
  color: #67e8f9;
}

.rm-dark .db-category-matrix-name-8 {
  color: #fdba74;
}

.rm-dark .db-category-matrix-subtitle {
  color: #9ca3af;
}

.rm-dark .db-category-matrix-revenue-1 {
  color: #93c5fd;
}

.rm-dark .db-category-matrix-revenue-2 {
  color: #6ee7b7;
}

.rm-dark .db-category-matrix-revenue-3 {
  color: #fcd34d;
}

.rm-dark .db-category-matrix-revenue-4 {
  color: #f9a8d4;
}

.rm-dark .db-category-matrix-revenue-5 {
  color: #c4b5fd;
}

.rm-dark .db-category-matrix-revenue-6 {
  color: #fca5a5;
}

.rm-dark .db-category-matrix-revenue-7 {
  color: #67e8f9;
}

.rm-dark .db-category-matrix-revenue-8 {
  color: #fdba74;
}

.rm-dark .db-category-matrix-progress {
  background: rgba(255, 255, 255, 0.05);
}

.rm-dark .db-category-matrix-progress-fill-1 {
  background: linear-gradient(90deg, #60a5fa 0%, #3b82f6 100%);
}

.rm-dark .db-category-matrix-progress-fill-2 {
  background: linear-gradient(90deg, #34d399 0%, #10b981 100%);
}

.rm-dark .db-category-matrix-progress-fill-3 {
  background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
}

.rm-dark .db-category-matrix-progress-fill-4 {
  background: linear-gradient(90deg, #f472b6 0%, #ec4899 100%);
}

.rm-dark .db-category-matrix-progress-fill-5 {
  background: linear-gradient(90deg, #a78bfa 0%, #8b5cf6 100%);
}

.rm-dark .db-category-matrix-progress-fill-6 {
  background: linear-gradient(90deg, #f87171 0%, #ef4444 100%);
}

.rm-dark .db-category-matrix-progress-fill-7 {
  background: linear-gradient(90deg, #22d3ee 0%, #06b6d4 100%);
}

.rm-dark .db-category-matrix-progress-fill-8 {
  background: linear-gradient(90deg, #fb923c 0%, #f97316 100%);
}

.rm-dark .db-category-matrix-summary {
  background: linear-gradient(135deg, #1e293b 0%, #30353c 100%);
}

.rm-dark .db-category-matrix-summary-label {
  color: #9ca3af;
}

.rm-dark .db-category-matrix-summary-value {
  color: #f9fafb;
}

.rm-dark .db-category-matrix-summary-value-success {
  color: #34d399;
}

.rm-dark .db-category-matrix-summary-value-info {
  color: #60a5fa;
}

.rm-dark .db-category-matrix-summary-extra {
  color: #9ca3af;
}

/* ============================================
   CUSTOMER VALUE TREND - Customer Value Analysis
   ============================================ */

.db-customer-value-chart-container {
  height: 280px;
  position: relative;
  margin-bottom: 20px;
}

.db-customer-value-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.db-customer-value-card {
  border-radius: 10px;
  padding: 16px;
  border: 2px solid;
  transition: all 0.3s ease;
}

.db-customer-value-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Blue Card - Receipt Average */
.db-customer-value-card-blue {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border-color: #3B82F6;
}

.rm-dark .db-customer-value-card-blue {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.1) 100%);
  border-color: #60a5fa;
}

/* Green Card - Customer Value */
.db-customer-value-card-green {
  background: linear-gradient(135deg, #F0FDF4 0%, #D1FAE5 100%);
  border-color: #10B981;
}

.rm-dark .db-customer-value-card-green {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.1) 100%);
  border-color: #34d399;
}

/* Yellow Card - Highest */
.db-customer-value-card-yellow {
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  border-color: #F59E0B;
}

.rm-dark .db-customer-value-card-yellow {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.1) 100%);
  border-color: #fbbf24;
}

/* Red Card - Lowest */
.db-customer-value-card-red {
  background: linear-gradient(135deg, #FEE2E2 0%, #FECACA 100%);
  border-color: #EF4444;
}

.rm-dark .db-customer-value-card-red {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.1) 100%);
  border-color: #f87171;
}

.db-customer-value-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.db-customer-value-card-icon-wrapper {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.db-customer-value-card:hover .db-customer-value-card-icon-wrapper {
  transform: rotate(10deg) scale(1.1);
}

.db-customer-value-card-icon-wrapper i {
  color: white;
  font-size: 14px;
}

.db-customer-value-card-blue .db-customer-value-card-icon-wrapper {
  background: #3B82F6;
}

.rm-dark .db-customer-value-card-blue .db-customer-value-card-icon-wrapper {
  background: #60a5fa;
}

.db-customer-value-card-green .db-customer-value-card-icon-wrapper {
  background: #10B981;
}

.rm-dark .db-customer-value-card-green .db-customer-value-card-icon-wrapper {
  background: #34d399;
}

.db-customer-value-card-yellow .db-customer-value-card-icon-wrapper {
  background: #F59E0B;
}

.rm-dark .db-customer-value-card-yellow .db-customer-value-card-icon-wrapper {
  background: #fbbf24;
}

.db-customer-value-card-red .db-customer-value-card-icon-wrapper {
  background: #EF4444;
}

.rm-dark .db-customer-value-card-red .db-customer-value-card-icon-wrapper {
  background: #f87171;
}

.db-customer-value-card-label {
  font-size: 11px;
  font-weight: 600;
}

.db-customer-value-card-blue .db-customer-value-card-label {
  color: #1E40AF;
}

.rm-dark .db-customer-value-card-blue .db-customer-value-card-label {
  color: #93c5fd;
}

.db-customer-value-card-green .db-customer-value-card-label {
  color: #065F46;
}

.rm-dark .db-customer-value-card-green .db-customer-value-card-label {
  color: #6ee7b7;
}

.db-customer-value-card-yellow .db-customer-value-card-label {
  color: #92400E;
}

.rm-dark .db-customer-value-card-yellow .db-customer-value-card-label {
  color: #fcd34d;
}

.db-customer-value-card-red .db-customer-value-card-label {
  color: #991B1B;
}

.rm-dark .db-customer-value-card-red .db-customer-value-card-label {
  color: #fca5a5;
}

.db-customer-value-card-value {
  font-size: 20px;
  font-weight: 700;
}

.db-customer-value-card-blue .db-customer-value-card-value {
  color: #1E40AF;
}

.rm-dark .db-customer-value-card-blue .db-customer-value-card-value {
  color: #93c5fd;
}

.db-customer-value-card-green .db-customer-value-card-value {
  color: #065F46;
}

.rm-dark .db-customer-value-card-green .db-customer-value-card-value {
  color: #6ee7b7;
}

.db-customer-value-card-yellow .db-customer-value-card-value {
  color: #92400E;
}

.rm-dark .db-customer-value-card-yellow .db-customer-value-card-value {
  color: #fcd34d;
}

.db-customer-value-card-red .db-customer-value-card-value {
  color: #991B1B;
}

.rm-dark .db-customer-value-card-red .db-customer-value-card-value {
  color: #fca5a5;
}

.db-customer-value-card-month {
  font-size: 16px;
  font-weight: 700;
}

.db-customer-value-card-yellow .db-customer-value-card-month,
.db-customer-value-card-red .db-customer-value-card-month {
  color: inherit;
}

.rm-dark .db-customer-value-card-yellow .db-customer-value-card-month {
  color: #fcd34d;
}

.rm-dark .db-customer-value-card-red .db-customer-value-card-month {
  color: #fca5a5;
}

.db-customer-value-card-amount {
  font-size: 13px;
  margin-top: 4px;
}

.db-customer-value-card-yellow .db-customer-value-card-amount {
  color: #F59E0B;
}

.rm-dark .db-customer-value-card-yellow .db-customer-value-card-amount {
  color: #fbbf24;
}

.db-customer-value-card-red .db-customer-value-card-amount {
  color: #EF4444;
}

.rm-dark .db-customer-value-card-red .db-customer-value-card-amount {
  color: #f87171;
}

/* ============================================
   YEARLY STAFF AWARDS - Annual Awards
   ============================================ */

.db-staff-awards-badge {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 12px;
  background: #FEF3C7;
  color: #F59E0B;
  font-weight: 600;
}

.rm-dark .db-staff-awards-badge {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

.db-staff-awards-badge i {
  margin-right: 6px;
}

.db-awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.db-award-card {
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: default;
  border: 2px solid;
  position: relative;
  overflow: hidden;
}

.db-award-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Yellow Award - Employee of the Year */
.db-award-card-yellow {
  background: #FEF3C7;
  border-color: #F59E0B;
}

.rm-dark .db-award-card-yellow {
  background: rgba(245, 158, 11, 0.15);
  border-color: #fbbf24;
}

/* Purple Award - Most Improved */
.db-award-card-purple {
  background: #F3E8FF;
  border-color: #8B5CF6;
}

.rm-dark .db-award-card-purple {
  background: rgba(139, 92, 246, 0.15);
  border-color: #a78bfa;
}

/* Green Award - Most Orders */
.db-award-card-green {
  background: #D1FAE5;
  border-color: #10B981;
}

.rm-dark .db-award-card-green {
  background: rgba(16, 185, 129, 0.15);
  border-color: #34d399;
}

/* Blue Award - Highest Average */
.db-award-card-blue {
  background: #DBEAFE;
  border-color: #3B82F6;
}

.rm-dark .db-award-card-blue {
  background: rgba(59, 130, 246, 0.15);
  border-color: #60a5fa;
}

.db-award-trophy-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  opacity: 0.2;
}

.db-award-card-yellow .db-award-trophy-badge {
  background: #F59E0B;
}

.db-award-card-purple .db-award-trophy-badge {
  background: #8B5CF6;
}

.db-award-card-green .db-award-trophy-badge {
  background: #10B981;
}

.db-award-card-blue .db-award-trophy-badge {
  background: #3B82F6;
}

.db-award-icon-wrapper {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.rm-dark .db-award-icon-wrapper {
  background: rgba(255, 255, 255, 0.1);
}

.db-award-card:hover .db-award-icon-wrapper {
  transform: scale(1.1) rotate(10deg);
}

.db-award-icon-wrapper i {
  font-size: 28px;
}

.db-award-card-yellow .db-award-icon-wrapper i {
  color: #F59E0B;
}

.rm-dark .db-award-card-yellow .db-award-icon-wrapper i {
  color: #fbbf24;
}

.db-award-card-purple .db-award-icon-wrapper i {
  color: #8B5CF6;
}

.rm-dark .db-award-card-purple .db-award-icon-wrapper i {
  color: #a78bfa;
}

.db-award-card-green .db-award-icon-wrapper i {
  color: #10B981;
}

.rm-dark .db-award-card-green .db-award-icon-wrapper i {
  color: #34d399;
}

.db-award-card-blue .db-award-icon-wrapper i {
  color: #3B82F6;
}

.rm-dark .db-award-card-blue .db-award-icon-wrapper i {
  color: #60a5fa;
}

.db-award-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.db-award-card-yellow .db-award-title {
  color: #F59E0B;
}

.rm-dark .db-award-card-yellow .db-award-title {
  color: #fbbf24;
}

.db-award-card-purple .db-award-title {
  color: #8B5CF6;
}

.rm-dark .db-award-card-purple .db-award-title {
  color: #a78bfa;
}

.db-award-card-green .db-award-title {
  color: #10B981;
}

.rm-dark .db-award-card-green .db-award-title {
  color: #34d399;
}

.db-award-card-blue .db-award-title {
  color: #3B82F6;
}

.rm-dark .db-award-card-blue .db-award-title {
  color: #60a5fa;
}

.db-award-winner-name {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
  word-break: break-word;
}

.rm-dark .db-award-winner-name {
  color: #f1f5f9;
}

.db-award-description {
  font-size: 11px;
  color: #64748b;
  margin-bottom: 12px;
}

.rm-dark .db-award-description {
  color: #94a3b8;
}

.db-award-stats-box {
  padding: 12px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.rm-dark .db-award-stats-box {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.db-award-stats-value {
  font-size: 20px;
  font-weight: 700;
}

.db-award-card-yellow .db-award-stats-value {
  color: #F59E0B;
}

.rm-dark .db-award-card-yellow .db-award-stats-value {
  color: #fbbf24;
}

.db-award-card-purple .db-award-stats-value {
  color: #8B5CF6;
}

.rm-dark .db-award-card-purple .db-award-stats-value {
  color: #a78bfa;
}

.db-award-card-green .db-award-stats-value {
  color: #10B981;
}

.rm-dark .db-award-card-green .db-award-stats-value {
  color: #34d399;
}

.db-award-card-blue .db-award-stats-value {
  color: #3B82F6;
}

.rm-dark .db-award-card-blue .db-award-stats-value {
  color: #60a5fa;
}

.db-award-stats-label {
  font-size: 11px;
  color: #64748b;
  margin-top: 4px;
}

.rm-dark .db-award-stats-label {
  color: #94a3b8;
}

/* ============================================
   AVERAGE TRENDS - Average Values Trend
   ============================================ */

.db-average-trends-chart-container {
  height: 250px;
  position: relative;
  margin-bottom: 20px;
}

.db-average-trends-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.db-average-trends-card {
  border-radius: 10px;
  padding: 16px;
  border: 2px solid;
  transition: all 0.3s ease;
}

.db-average-trends-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Blue Card - Yearly Average */
.db-average-trends-card-blue {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border-color: #3B82F6;
}

.rm-dark .db-average-trends-card-blue {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.1) 100%);
  border-color: #60a5fa;
}

/* Green Card - Highest Month */
.db-average-trends-card-green {
  background: linear-gradient(135deg, #F0FDF4 0%, #D1FAE5 100%);
  border-color: #10B981;
}

.rm-dark .db-average-trends-card-green {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.1) 100%);
  border-color: #34d399;
}

/* Yellow Card - Items Per Receipt */
.db-average-trends-card-yellow {
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  border-color: #F59E0B;
}

.rm-dark .db-average-trends-card-yellow {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.1) 100%);
  border-color: #fbbf24;
}

.db-average-trends-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.db-average-trends-card-icon-wrapper {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.db-average-trends-card:hover .db-average-trends-card-icon-wrapper {
  transform: rotate(10deg) scale(1.1);
}

.db-average-trends-card-icon-wrapper i {
  color: white;
  font-size: 14px;
}

.db-average-trends-card-blue .db-average-trends-card-icon-wrapper {
  background: #3B82F6;
}

.rm-dark .db-average-trends-card-blue .db-average-trends-card-icon-wrapper {
  background: #60a5fa;
}

.db-average-trends-card-green .db-average-trends-card-icon-wrapper {
  background: #10B981;
}

.rm-dark .db-average-trends-card-green .db-average-trends-card-icon-wrapper {
  background: #34d399;
}

.db-average-trends-card-yellow .db-average-trends-card-icon-wrapper {
  background: #F59E0B;
}

.rm-dark .db-average-trends-card-yellow .db-average-trends-card-icon-wrapper {
  background: #fbbf24;
}

.db-average-trends-card-label {
  font-size: 11px;
  font-weight: 600;
}

.db-average-trends-card-blue .db-average-trends-card-label {
  color: #1E40AF;
}

.rm-dark .db-average-trends-card-blue .db-average-trends-card-label {
  color: #93c5fd;
}

.db-average-trends-card-green .db-average-trends-card-label {
  color: #065F46;
}

.rm-dark .db-average-trends-card-green .db-average-trends-card-label {
  color: #6ee7b7;
}

.db-average-trends-card-yellow .db-average-trends-card-label {
  color: #92400E;
}

.rm-dark .db-average-trends-card-yellow .db-average-trends-card-label {
  color: #fcd34d;
}

.db-average-trends-card-value {
  font-size: 18px;
  font-weight: 700;
}

.db-average-trends-card-blue .db-average-trends-card-value {
  color: #1E40AF;
}

.rm-dark .db-average-trends-card-blue .db-average-trends-card-value {
  color: #93c5fd;
}

.db-average-trends-card-green .db-average-trends-card-value {
  color: #065F46;
}

.rm-dark .db-average-trends-card-green .db-average-trends-card-value {
  color: #6ee7b7;
}

.db-average-trends-card-yellow .db-average-trends-card-value {
  color: #92400E;
}

.rm-dark .db-average-trends-card-yellow .db-average-trends-card-value {
  color: #fcd34d;
}

.db-average-trends-card-month {
  font-size: 16px;
  font-weight: 700;
}

.db-average-trends-card-green .db-average-trends-card-month {
  color: #065F46;
}

.rm-dark .db-average-trends-card-green .db-average-trends-card-month {
  color: #6ee7b7;
}

.db-average-trends-card-amount {
  font-size: 13px;
  margin-top: 4px;
}

.db-average-trends-card-green .db-average-trends-card-amount {
  color: #10B981;
}

.rm-dark .db-average-trends-card-green .db-average-trends-card-amount {
  color: #34d399;
}

.db-average-trends-card-extra {
  font-size: 11px;
  color: #64748b;
  margin-top: 4px;
}

.rm-dark .db-average-trends-card-extra {
  color: #94a3b8;
}

/* ============================================
   MONTHLY TREND CHART - Aylık Trend Grafiği
   ============================================ */

.db-monthly-trend-chart-container {
  height: 300px;
  position: relative;
}

.db-monthly-trend-no-data {
  text-align: center;
  padding: 40px;
  color: #94a3b8;
}

.rm-dark .db-monthly-trend-no-data {
  color: #64748b;
}

/* ============================================
   CASHFLOW PAGE - Nakit Akışı Sayfası
   ============================================ */

.cf-page-container {
  min-height: 100vh;
  padding: clamp(1rem, 3vw, 2rem);
  background: #fafafa;
}

.rm-dark .cf-page-container {
  background: linear-gradient(135deg, #30353c 0%, #282d34 100%);
}

.cf-filter-container {
  background: white;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.rm-dark .cf-filter-container {
  background: #1f2937;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.cf-filter-button {
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
}

.cf-filter-button:not(.active) {
  background: #f3f4f6;
  color: #374151;
}

.rm-dark .cf-filter-button:not(.active) {
  background: #374151;
  color: #d1d5db;
}

.cf-filter-button.active {
  background: #FFA305;
  color: white;
}

.cf-date-input-wrapper {
  flex: 1;
  min-width: 180px;
}

.cf-date-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 6px;
}

.rm-dark .cf-date-label {
  color: #9ca3af;
}

.cf-date-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f9fafb;
  color: linear-gradient(135deg, #30353c 0%, #282d34 100%);
  font-size: 14px;
 
}

.rm-dark .cf-date-input {
  border: 1px solid #374151;
  background: linear-gradient(135deg, #30353c 0%, #282d34 100%);
  color: white;
}

.cf-date-divider {
  border-top: 1px solid #e5e7eb;
  padding-top: 12px;
}

.rm-dark .cf-date-divider {
  border-top: 1px solid #374151;
}

.cf-query-button {
  padding: 10px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
  height: 42px;
  transition: all 0.2s;
  background: #10b981;
  color: white;
}

.cf-query-button:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  opacity: 0.7;
  box-shadow: none;
}

.cf-day-badge {
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  height: 42px;
  display: flex;
  align-items: center;
  background: #f3f4f6;
  color: #374151;
}

.rm-dark .cf-day-badge {
  background: #374151;
  color: #d1d5db;
}

/* Metrik Kartları */
.cf-metric-card {
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.2s ease;
  cursor: pointer;
  background: #fff;
  border: 2px solid #e5e5e5;
}

.rm-dark .cf-metric-card {
  background: #1f2937;
  border: 2px solid #374151;
}

.cf-metric-card.highlight {
  background: #1a1a1a;
  border: 2px solid #1a1a1a;
}

.rm-dark .cf-metric-card.highlight {
  background: #FFA305;
  border: 2px solid #FFA305;
}

.cf-metric-card:hover {
  border-color: #FFA305;
  transform: translateY(-2px);
}

.cf-metric-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  color: #666;
}

.cf-metric-card.highlight .cf-metric-title {
  color: #999;
}

.rm-dark .cf-metric-card .cf-metric-title {
  color: #9ca3af;
}

.rm-dark .cf-metric-card.highlight .cf-metric-title {
  color: #1a1a1a;
}

.cf-metric-value {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.75rem;
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  color: #1a1a1a;
}

.cf-metric-card.highlight .cf-metric-value {
  color: #FFA305;
}

.rm-dark .cf-metric-card .cf-metric-value {
  color: #f3f4f6;
}

.rm-dark .cf-metric-card.highlight .cf-metric-value {
  color: #1a1a1a;
}

.cf-metric-description {
  font-size: 0.875rem;
  font-weight: 500;
  color: #666;
}

.cf-metric-card.highlight .cf-metric-description {
  color: #999;
}

.rm-dark .cf-metric-card .cf-metric-description {
  color: #9ca3af;
}

.rm-dark .cf-metric-card.highlight .cf-metric-description {
  color: #1a1a1a;
}

/* Grafik Tab'ları */
.cf-tab-button {
  padding: 1rem 2rem;
  border: none;
  background: transparent;
  font-weight: 500;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #999;
}

.cf-tab-button.active {
  color: #1a1a1a;
  font-weight: 700;
  border-bottom: 3px solid #FFA305;
}

.rm-dark .cf-tab-button {
  color: #6b7280;
}

.rm-dark .cf-tab-button.active {
  color: #f3f4f6;
}

.cf-tab-container {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #e5e5e5;
  border-radius: 8px 8px 0 0;
}

.rm-dark .cf-tab-container {
  border-bottom: 2px solid #374151;
}

/* Grafik Kartı */
.cf-chart-card {
  background: #fff;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  padding: clamp(1.5rem, 3vw, 3rem);
  margin-bottom: 3rem;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rm-dark .cf-chart-card {
  background: #1f2937;
  border: 2px solid #374151;
}

/* Tablo */
.cf-table-container {
  background: #fff;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
}

.rm-dark .cf-table-container {
  background: #1f2937;
  border: 2px solid #374151;
}

.cf-table-header {
  padding: 1.5rem;
  border-bottom: 2px solid #1a1a1a;
  background: #fff;
}

.rm-dark .cf-table-header {
  background: #1f2937;
  border-bottom: 2px solid #FFA305;
}

.cf-table-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.rm-dark .cf-table-title {
  color: #f3f4f6;
}

.cf-table {
  width: 100%;
  border-collapse: collapse;
}

.cf-table thead {
  background: #f8f8f8;
}

.rm-dark .cf-table thead {
  background: linear-gradient(135deg, #30353c 0%, #282d34 100%);
}

.cf-table th {
  padding: 1rem 1.5rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.rm-dark .cf-table th {
  color: #9ca3af;
}

.cf-table td {
  padding: 1.25rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1a1a1a;
  border-bottom: 1px solid #e5e5e5;
}

.rm-dark .cf-table td {
  color: #f3f4f6;
  border-bottom: 1px solid #374151;
}

.cf-table tbody tr {
  transition: background 0.2s ease;
}

.cf-table tbody tr:hover {
  background: #fafafa;
}

.rm-dark .cf-table tbody tr:hover {
  background: linear-gradient(135deg, #30353c 0%, #282d34 100%);
}

.cf-table tfoot {
  background: #f8f8f8;
  border-top: 2px solid #1a1a1a;
}

.rm-dark .cf-table tfoot {
  background: linear-gradient(135deg, #30353c 0%, #282d34 100%);
  border-top: 2px solid #FFA305;
}

.cf-table tfoot td {
  border-bottom: none;
}

.cf-category-indicator {
  width: 4px;
  height: 24px;
  border-radius: 2px;
}

.cf-category-indicator.income {
  background: #1a1a1a;
}

.cf-category-indicator.expense {
  background: #FFA305;
}

.rm-dark .cf-category-indicator.income {
  background: #10b981;
}

.cf-badge {
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 6px;
  color: #fff;
}

.cf-badge.income {
  background: #1a1a1a;
}

.cf-badge.expense {
  background: #FFA305;
}

.rm-dark .cf-badge.income {
  background: #10b981;
}

.cf-badge.expense {
  background: #FFA305;
}

/* Empty State */
.cf-empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.cf-empty-state h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.rm-dark .cf-empty-state h2 {
  color: #f3f4f6;
}

.cf-empty-state p {
  font-size: 1rem;
  color: #666;
}

.rm-dark .cf-empty-state p {
  color: #9ca3af;
}

/* Dark mode select option styles */
.rm-dark select option {
  background-color: #1f2937 !important;
  color: white !important;
}

.rm-dark select option:hover,
.rm-dark select option:checked {
  background-color: #374151 !important;
  color: white !important;
}
/* Degerlendirmeler Page - Clean Modern 2026 Design */

.deg-eval-container {
  padding: 16px;
  min-height: 100vh;
  max-width: 1400px;
  margin: 0 auto;
}

.deg-eval-header {
  margin-bottom: 24px;
}

.deg-eval-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.deg-eval-stat-card {
  background: white;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #e5e5e5;

  display: flex;
  align-items: center;
  gap: 12px;
}

.deg-eval-stat-card:hover {
  border-color: #FFA305;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.deg-eval-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #FFA305;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
  flex-shrink: 0;
}

.deg-eval-stat-content {
  flex: 1;
  min-width: 0;
}

.deg-eval-stat-value {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1;
  margin-bottom: 4px;
}

.deg-eval-stat-label {
  font-size: 12px;
  color: #666;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.deg-eval-filters {
  background: white;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  border: 1px solid #e5e5e5;
}

.deg-eval-filter-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.deg-eval-filter-group {
  flex: 1;
  min-width: 180px;
}

.deg-eval-filter-label {
  font-size: 13px;
  font-weight: 600;
  color: #666;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.deg-eval-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  font-size: 14px;
  background: white;
  color: #333;

  cursor: pointer;
}

.deg-eval-select:hover {
  border-color: #FFA305;
}

.deg-eval-select:focus {
  outline: none;
  border-color: #FFA305;
  box-shadow: 0 0 0 3px rgba(255, 163, 5, 0.1);
}

.deg-eval-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.deg-eval-review-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #e5e5e5;

  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.deg-eval-review-card:hover {
  border-color: #FFA305;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.deg-eval-review-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 12px;
}

.deg-eval-customer-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.deg-eval-customer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #FFA305;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  color: white;
  flex-shrink: 0;
}

.deg-eval-customer-details {
  flex: 1;
  min-width: 0;
}

.deg-eval-customer-details h4 {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 4px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.deg-eval-review-date {
  font-size: 12px;
  color: #999;
  display: flex;
  align-items: center;
  gap: 4px;
}

.deg-eval-review-badge {
  background: #FFA305;
  color: white;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.deg-eval-comment {
  background: #f9f9f9;
  border-left: 2px solid #FFA305;
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-height: 120px;
  overflow-y: auto;
}

.deg-eval-ratings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.deg-eval-rating-item {
  padding: 10px 6px;
  border-radius: 8px;
  text-align: center;

  min-height: 75px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.deg-eval-rating-item:hover {
  background: #f0f0f0;
}

.deg-eval-rating-label {
  font-size: 10px;
  color: #666;
  margin-bottom: 6px;
  font-weight: 500;
  line-height: 1.2;
  height: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.deg-eval-stars {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-bottom: 4px;
}

.deg-eval-star {
  color: #FFA305;
  font-size: 14px;
}

.deg-eval-rating-number {
  font-size: 14px;
  font-weight: 600;
  color: #FFA305;
}

.deg-eval-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.deg-eval-page-btn {
  min-width: 40px;
  height: 40px;
  border: 1px solid #e5e5e5;
  background: white;
  color: #666;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
}

.deg-eval-page-btn:hover:not(:disabled) {
  border-color: #FFA305;
  color: #FFA305;
  background: rgba(255, 163, 5, 0.05);
}

.deg-eval-page-btn.active {
  background: #FFA305;
  color: white;
  border-color: #FFA305;
}

.deg-eval-page-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.deg-eval-load-more {
  background: white;
  border: 1px solid #e5e5e5;
  color: #666;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;

  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
}

.deg-eval-load-more:hover {
  border-color: #FFA305;
  color: #FFA305;
  background: rgba(255, 163, 5, 0.05);
}

.deg-eval-empty {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
}

.deg-eval-empty-icon {
  font-size: 48px;
  color: #ccc;
  margin-bottom: 12px;
}

.deg-eval-empty-text {
  font-size: 15px;
  color: #999;
  font-weight: 500;
}

/* Dark Mode */
body.rm-dark .deg-eval-stat-card,
body.rm-dark .deg-eval-filters,
body.rm-dark .deg-eval-review-card,
body.rm-dark .deg-eval-empty {
  background: #1a1a1a;
  border-color: #333;
}

body.rm-dark .deg-eval-stat-card:hover,
body.rm-dark .deg-eval-review-card:hover {
  border-color: #FFA305;
}

body.rm-dark .deg-eval-stat-value,
body.rm-dark .deg-eval-customer-details h4 {
  color: #ffffff;
}

body.rm-dark .deg-eval-stat-label,
body.rm-dark .deg-eval-rating-label,
body.rm-dark .deg-eval-filter-label {
  color: #999;
}

body.rm-dark .deg-eval-select {
  background: #222;
  color: #ddd;
  border-color: #333;
}

body.rm-dark .deg-eval-select:hover,
body.rm-dark .deg-eval-select:focus {
  border-color: #FFA305;
}

body.rm-dark .deg-eval-comment,
body.rm-dark .deg-eval-rating-item {
  background: #222;
  color: #ddd;
}

body.rm-dark .deg-eval-rating-item:hover {
  background: #282828;
}

body.rm-dark .deg-eval-review-date {
  color: #888;
}

body.rm-dark .deg-eval-empty-text {
  color: #777;
}

body.rm-dark .deg-eval-empty-icon {
  color: #444;
}

body.rm-dark .deg-eval-page-btn {
  background: #1a1a1a;
  border-color: #333;
  color: #999;
}

body.rm-dark .deg-eval-page-btn:hover:not(:disabled) {
  border-color: #FFA305;
  color: #FFA305;
  background: rgba(255, 163, 5, 0.1);
}

body.rm-dark .deg-eval-page-btn.active {
  background: #FFA305;
  color: white;
  border-color: #FFA305;
}

body.rm-dark .deg-eval-load-more {
  background: #1a1a1a;
  border-color: #333;
  color: #999;
}

body.rm-dark .deg-eval-load-more:hover {
  border-color: #FFA305;
  color: #FFA305;
  background: rgba(255, 163, 5, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .deg-eval-container {
    padding: 12px;
  }

  .deg-eval-reviews-grid {
    grid-template-columns: 1fr;
  }

  .deg-eval-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .deg-eval-stat-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .deg-eval-stat-content {
    width: 100%;
  }

  .deg-eval-filter-row {
    flex-direction: column;
  }

  .deg-eval-filter-group {
    width: 100%;
  }

  .deg-eval-review-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .deg-eval-review-badge {
    align-self: flex-start;
  }

  .deg-eval-ratings-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .deg-eval-rating-item {
    padding: 10px;
    min-height: 60px;
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .deg-eval-rating-label {
    font-size: 12px;
    min-height: auto;
    flex: 1;
    justify-content: flex-start;
  }

  .deg-eval-stars {
    justify-content: flex-end;
    margin-bottom: 0;
    gap: 3px;
  }

  .deg-eval-rating-number {
    display: none;
  }
}

@media (max-width: 480px) {
  .deg-eval-stats-grid {
    grid-template-columns: 1fr;
  }

  .deg-eval-pagination {
    gap: 6px;
  }

  .deg-eval-page-btn {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
    padding: 0 8px;
  }
}
/* ============================================
   IPTALLER RAPORU - CORPORATE DASHBOARD THEME
   Brand Color: #FFA305
   Referans: dashboard-demo.css
   ============================================ */

/* Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Date Navigation */
.rm-iptaller-date-navigation {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rm-iptaller-date-picker-wrapper {
  flex: 1;
}

.rm-iptaller-nav-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  font-size: 20px;
  color: #1a1a1a;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.rm-iptaller-nav-btn:hover:not(:disabled) {
  background: #FFA305;
  color: white;
  border-color: #FFA305;
  transform: scale(1.05);
}

.rm-iptaller-nav-btn:active:not(:disabled) {
  transform: scale(0.95);
}

.rm-iptaller-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

body.rm-dark .rm-iptaller-nav-btn {
  background: #1a1a1a;
  border-color: #333;
  color: #ffffff;
}

body.rm-dark .rm-iptaller-nav-btn:hover:not(:disabled) {
  background: #FFA305;
  color: white;
  border-color: #FFA305;
}

/* Main Container */
.rm-iptaller-container {
  padding: 16px;
  background: #f9f9f9;
  min-height: 100vh;
  max-width: 1400px;
  margin: 0 auto;
}

body.rm-dark .rm-iptaller-container {
  background: #30353c;
}

/* Header Section */
.rm-iptaller-header {
  margin-bottom: 20px;
}

.rm-iptaller-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

body.rm-dark .rm-iptaller-title {
  color: #ffffff;
}

/* Statistics Grid */
.rm-iptaller-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.rm-iptaller-stat-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: white;
  border-radius: 12px;
  border: 1px solid #e5e5e5;

}

.rm-iptaller-stat-card:hover {
  border-color: #FFA305;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

body.rm-dark .rm-iptaller-stat-card {
  background: #1a1a1a;
  border-color: #333;
}

body.rm-dark .rm-iptaller-stat-card:hover {
  border-color: #FFA305;
}

.rm-iptaller-stat-icon {
  font-size: 18px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFA305;
  border-radius: 10px;
  flex-shrink: 0;
  color: white;
}

body.rm-dark .rm-iptaller-stat-icon {
  background: #FFA305;
}

.rm-iptaller-stat-content {
  flex: 1;
  min-width: 0;
}

.rm-iptaller-stat-value {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1;
  margin-bottom: 4px;
}

body.rm-dark .rm-iptaller-stat-value {
  color: #ffffff;
}

.rm-iptaller-stat-label {
  font-size: 12px;
  color: #666;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.rm-dark .rm-iptaller-stat-label {
  color: #999;
}

.rm-iptaller-stat-value-small {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1;
  margin-bottom: 4px;
}

body.rm-dark .rm-iptaller-stat-value-small {
  color: #ffffff;
}

.rm-iptaller-stat-sub {
  font-size: 12px;
  color: #666;
  font-weight: 500;
}

body.rm-dark .rm-iptaller-stat-sub {
  color: #999;
}

/* Chart Card */
.rm-iptaller-chart-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #e5e5e5;
  margin-bottom: 20px;
}

body.rm-dark .rm-iptaller-chart-card {
  background: #1a1a1a;
  border-color: #333;
}

.rm-iptaller-chart-header {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e5e5;
}

body.rm-dark .rm-iptaller-chart-header {
  border-bottom-color: #333;
}

.rm-iptaller-chart-title {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}

body.rm-dark .rm-iptaller-chart-title {
  color: #ffffff;
}

.rm-iptaller-chart-container {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 200px;
  padding: 20px 0;
}

.rm-iptaller-chart-bar-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
}

.rm-iptaller-chart-bar {
  width: 100%;
  min-height: 4px;
  background: #FFA305;
  border-radius: 6px 6px 0 0;
  position: relative;

  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 4px;
}

.rm-iptaller-chart-bar:hover {
  background: #FF8C00;
}

.rm-iptaller-chart-value {
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.rm-iptaller-chart-label {
  font-size: 11px;
  color: #666;
  margin-top: 8px;
  font-weight: 500;
}

body.rm-dark .rm-iptaller-chart-label {
  color: #999;
}

/* Filter Card */
.rm-iptaller-filter-card {
  background: white;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #e5e5e5;
  margin-bottom: 20px;
}

body.rm-dark .rm-iptaller-filter-card {
  background: #1a1a1a;
  border-color: #333;
}

.rm-iptaller-filter-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.rm-iptaller-filter-row:last-child {
  margin-bottom: 0;
}

.rm-iptaller-filter-col {
  display: flex;
  flex-direction: column;
}

.rm-iptaller-filter-label {
  font-size: 13px;
  font-weight: 600;
  color: #666;
  margin-bottom: 6px;
}

body.rm-dark .rm-iptaller-filter-label {
  color: #999;
}

.rm-iptaller-filter-input {
  padding: 10px 12px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  font-size: 14px;
  background: white;

  color: #333;
}

.rm-iptaller-filter-input:hover {
  border-color: #FFA305;
}

.rm-iptaller-filter-input:focus {
  outline: none;
  border-color: #FFA305;
  box-shadow: 0 0 0 3px rgba(255, 163, 5, 0.1);
}

body.rm-dark .rm-iptaller-filter-input {
  background: #222;
  color: #ddd;
  border-color: #333;
}

body.rm-dark .rm-iptaller-filter-input:hover,
body.rm-dark .rm-iptaller-filter-input:focus {
  border-color: #FFA305;
}

.rm-iptaller-filter-divider {
  height: 1px;
  background: #e5e5e5;
  margin: 16px 0;
}

body.rm-dark .rm-iptaller-filter-divider {
  background: #333;
}

.rm-iptaller-filter-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e5e5e5;
}

body.rm-dark .rm-iptaller-filter-actions {
  border-top-color: #333;
}

.rm-iptaller-reset-btn {
  padding: 8px 16px;
  border: 1px solid #e5e5e5;
  background: white;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #666;
  cursor: pointer;

}

.rm-iptaller-reset-btn:hover {
  border-color: #666;
  color: #333;
}

body.rm-dark .rm-iptaller-reset-btn {
  background: #1a1a1a;
  border-color: #333;
  color: #999;
}

body.rm-dark .rm-iptaller-reset-btn:hover {
  border-color: #666;
  color: #ddd;
}

.rm-iptaller-result-count {
  font-size: 13px;
  color: #FFA305;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* Search Button */
.rm-iptaller-search-btn {
  background: #FFA305;
  border: 1px solid #FFA305;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: white;
  cursor: pointer;

  width: 100%;
}

.rm-iptaller-search-btn:hover {
  background: #FF8C00;
  border-color: #FF8C00;
}

.rm-iptaller-search-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Empty State */
.rm-iptaller-empty-state {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
}

body.rm-dark .rm-iptaller-empty-state {
  background: #1a1a1a;
  border-color: #333;
}

.rm-iptaller-empty-icon {
  font-size: 48px;
  color: #ccc;
  margin-bottom: 12px;
}

body.rm-dark .rm-iptaller-empty-icon {
  color: #444;
}

.rm-iptaller-empty-text {
  font-size: 15px;
  color: #999;
  font-weight: 500;
}

body.rm-dark .rm-iptaller-empty-text {
  color: #777;
}

/* Data Card */
.rm-iptaller-data-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e5e5;
}

body.rm-dark .rm-iptaller-data-card {
  background: #1a1a1a;
  border-color: #333;
}

.rm-iptaller-card-header {
  padding: 20px;
  border-bottom: 1px solid #e5e5e5;
}

body.rm-dark .rm-iptaller-card-header {
  border-bottom-color: #333;
}

.rm-iptaller-card-title {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}

body.rm-dark .rm-iptaller-card-title {
  color: #ffffff;
}

/* Table Container */
.rm-iptaller-table-container {
  padding: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Modern Table */
.rm-iptaller-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
  font-size: 14px;
}

.rm-iptaller-table thead

body.rm-dark .rm-iptaller-table thead

.rm-iptaller-sortable {
  cursor: pointer;
  user-select: none;

  position: relative;
}

.rm-iptaller-sortable:hover {
  color: #FFA305;

}

.rm-iptaller-sort-icon {
  margin-left: 6px;
  font-size: 14px;
  color: #FFA305;
}

.rm-iptaller-table tbody

body.rm-dark .rm-iptaller-table tbody

.rm-iptaller-table tbody tr:hover {
  background: #f9f9f9;
}

body.rm-dark .rm-iptaller-table tbody tr:hover {
  background: #222;
}

.rm-iptaller-table tbody

body.rm-dark .rm-iptaller-table tbody

.rm-iptaller-table tbody tr td:first-child {
  border-radius: 10px 0 0 10px;
}

.rm-iptaller-table tbody tr td:last-child {
  border-radius: 0 10px 10px 0;
}

/* Product Image */
.rm-iptaller-product-image-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rm-iptaller-product-image {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #e5e5e5;

}

.rm-iptaller-product-image:hover {
  border-color: #FFA305;
}

/* Badge */
.rm-iptaller-badge {
  display: inline-block;
  padding: 4px 10px;
  background: #FFA305;
  color: white;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}

body.rm-dark .rm-iptaller-badge {
  background: #FFA305;
  color: white;
}

/* Price Highlight */
.rm-iptaller-price {
  font-weight: 700;
  color: #FFA305;
  font-size: 15px;
}

body.rm-dark .rm-iptaller-price {
  color: #FFB84D;
}

/* User Info */
.rm-iptaller-user {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
}

.rm-iptaller-user::before {
  content: '👤';
  font-size: 16px;
}

/* Time Badge */
.rm-iptaller-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  font-size: 13px;
  color: #666;
}

body.rm-dark .rm-iptaller-time {
  color: #999;
}

/* Pagination */
.rm-iptaller-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-top: 1px solid #e5e5e5;
  gap: 16px;
}

body.rm-dark .rm-iptaller-pagination {
  border-top-color: #333;
}

.rm-iptaller-pagination-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid #e5e5e5;
  background: white;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  color: #666;
  cursor: pointer;

}

.rm-iptaller-pagination-btn:hover:not(:disabled) {
  border-color: #FFA305;
  color: #FFA305;
  background: rgba(255, 163, 5, 0.05);
}

.rm-iptaller-pagination-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

body.rm-dark .rm-iptaller-pagination-btn {
  background: #1a1a1a;
  border-color: #333;
  color: #999;
}

body.rm-dark .rm-iptaller-pagination-btn:hover:not(:disabled) {
  border-color: #FFA305;
  color: #FFA305;
  background: rgba(255, 163, 5, 0.1);
}

.rm-iptaller-pagination-info {
  font-size: 14px;
  font-weight: 500;
  color: #666;
  text-align: center;
}

body.rm-dark .rm-iptaller-pagination-info {
  color: #999;
}

.rm-iptaller-pagination-total {
  display: block;
  font-size: 12px;
  color: #999;
  font-weight: 400;
  margin-top: 4px;
}

body.rm-dark .rm-iptaller-pagination-total {
  color: #777;
}

/* Loading Spinner */
.rm-iptaller-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;

  display: inline-block;
}



/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
  .rm-iptaller-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .rm-iptaller-container {
    padding: 16px;
  }
  
  .rm-iptaller-title {
    font-size: 24px;
  }
  
  .rm-iptaller-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .rm-iptaller-stat-card {
    padding: 16px;
  }

  .rm-iptaller-stat-icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .rm-iptaller-container {
    padding: 12px;
  }
  
  .rm-iptaller-title {
    font-size: 22px;
  }
  
  .rm-iptaller-stats-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .rm-iptaller-stat-card {
    padding: 14px;
    gap: 12px;
  }

  .rm-iptaller-filter-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .rm-iptaller-table {
    font-size: 12px;
  }
  
  .rm-iptaller-table thead

  .rm-iptaller-table tbody
  
  .rm-iptaller-product-image {
    width: 40px;
    height: 40px;
  }

  .rm-iptaller-pagination {
    flex-direction: column;
    gap: 12px;
  }

  .rm-iptaller-pagination-btn {
    width: 100%;
  }

  .rm-iptaller-chart-container {
    height: 150px;
    gap: 4px;
  }
}

@media (max-width: 576px) {
  .rm-iptaller-title {
    font-size: 20px;
  }

  .rm-iptaller-stat-card {
    padding: 12px;
    gap: 10px;
  }

  .rm-iptaller-stat-icon {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .rm-iptaller-stat-value {
    font-size: 18px;
  }

  .rm-iptaller-stat-value-small {
    font-size: 14px;
  }

  .rm-iptaller-chart-container {
    height: 120px;
    gap: 3px;
  }

  .rm-iptaller-chart-label {
    font-size: 8px;
  }

  .rm-iptaller-chart-value {
    font-size: 9px;
  }

  .rm-iptaller-product-image {
    width: 36px;
    height: 36px;
  }

  .rm-iptaller-filter-actions {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  .rm-iptaller-reset-btn {
    width: 100%;
    text-align: center;
  }
}

/* Scrollbar Styling */
.rm-iptaller-table-container::-webkit-scrollbar {
  height: 6px;
}

.rm-iptaller-table-container::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 3px;
}

.rm-iptaller-table-container::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.rm-iptaller-table-container::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
