/** Shopify CDN: Minification failed

Line 1179:0 Unexpected "}"

**/
/* ========================================
  CLAIMS PAGE - MODERN REDESIGN (Cleaned)
  ======================================== */

/* Page Container */
.claims-page-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

@media screen and (max-width: 749px) {
  .claims-page-container {
    padding: 2rem 1rem;
  }
}
/* Claims Layout */
.claims-layout {
  position: relative;
  display: flex;
  gap: 0;
  overflow: hidden;
}

.claims-center {
  position: relative;
  flex: 1 1 auto;
  max-width: 900px;
  margin: 0 auto;
  transition: transform 0.35s ease;
}

.claims-layout.form-open .claims-center {
  transform: translateX(-30%);
}

/* Sliding Form Panel */
.claim-form-panel {
  position: fixed;
  top: 0;
  right: -60%;
  width: 60%;
  height: 100vh;
  background: #fff;
  box-shadow: -8px 0 24px rgba(0,0,0,0.08);
  border-left: 1px solid rgba(var(--color-foreground), 0.08);
  transition: right 0.35s ease;
  z-index: 20;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

@media (max-width: 1024px) {
  .claim-form-panel {
    width: 100%;
    right: -100%;
    padding: 20px;
  }
}

.claims-layout.form-open #claim-form-panel {
  right: 0;
}

.claim-form-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(var(--color-foreground), 0.08);
  /* margin-bottom: 24px; */
}

.claim-form-panel__header h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}

.claim-modal-close {
  background: transparent;
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

/* Make form content maximize width inside panel */
.claim-form-section {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.claim-form {
  max-width: none;
}

/* Page Title */
.customer__title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: rgb(var(--color-foreground));
}

@media screen and (max-width: 749px) {
  .customer__title {
    font-size: 1.5rem;
  }
  
  .claims-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  #create-claim-btn {
    width: 100%;
  }
}

/* Header Section */
.claims-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  gap: 1rem;
}

#create-claim-btn {
  background-color: rgb(var(--color-foreground));
  color: rgb(var(--color-background));
  border: none;
  padding: 1rem 2rem;
  font-weight: 500;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: opacity 0.2s ease;
  border-radius: 2px;
}

#create-claim-btn:hover {
  opacity: 0.85;
}

/* Loading & Empty States */
.claims-loading,
.loading-state {
  text-align: center;
  padding: 4rem 1rem;
  color: rgba(var(--color-foreground), 0.6);
}

.loading-spinner {
  border: 2px solid rgba(var(--color-foreground), 0.1);
  border-top: 2px solid rgb(var(--color-foreground));
  border-radius: 50%;
  width: 32px;
  height: 32px;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* Empty State */
.claims-empty {
  text-align: center;
  padding: 5rem 2rem;
  background: rgba(var(--color-foreground), 0.02);
  border-radius: 4px;
}

.empty-state-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.2;
}

.claims-empty h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.claims-empty p {
  color: rgba(var(--color-foreground), 0.6);
}

/* Error State */
.claims-error,
.error-state {
  text-align: center;
  padding: 2rem;
  background-color: #fef2f2;
  border: 1px solid #fee;
  border-radius: 4px;
  color: #b91c1c;
}
/* Claims Table */
.claims-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  background: white;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.claims-table thead {
  background-color: rgb(var(--color-foreground));
}

.claims-table th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 500;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgb(var(--color-background));
}

.claims-table tbody tr {
  border-bottom: 1px solid rgba(var(--color-foreground), 0.1);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.claims-table tbody tr:hover {
  background-color: #f9fafb;
}

.claims-table td {
  padding: 1rem;
  font-size: 1.2rem;
}

/* Status Badges */
.status-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.status-badge.open {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
}

.status-badge.status-pending,
.status-badge.pending {
  background-color: #dbeafe;
  color: #1e40af;
  border: 1px solid #93c5fd;
}

.status-badge.status-in-progress,
.status-badge.in_progress {
  background-color: #e0e7ff;
  color: #4338ca;
  border: 1px solid #a5b4fc;
}

.status-badge.status-approved,
.status-badge.approved {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.status-badge.status-rejected,
.status-badge.rejected {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.status-badge.status-completed,
.status-badge.completed {
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.status-badge.status-default {
  background-color: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
}

/* Pagination Styles */
.claims-pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.5rem 0;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.pagination-pages {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.pagination-btn {
  padding: 0.5rem 1rem;
  border: 1px solid rgba(var(--color-foreground), 0.2);
  background: white;
  color: rgb(var(--color-foreground));
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled) {
  background: rgba(var(--color-foreground), 0.05);
  border-color: rgba(var(--color-foreground), 0.3);
}

.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pagination-page {
  min-width: 2.5rem;
  padding: 0.5rem 0.75rem;
}

.pagination-page.active {
  background: rgb(var(--color-foreground));
  color: rgb(var(--color-background));
  border-color: rgb(var(--color-foreground));
}

.pagination-ellipsis {
  padding: 0.5rem;
  color: rgba(var(--color-foreground), 0.5);
}

.pagination-info {
  font-size: 0.875rem;
  color: rgba(var(--color-foreground), 0.7);
  text-align: center;
}

/* Claim Form Section */
.claim-form-section {
  /* margin-top: 3rem; */
  background: white;
  border-radius: 4px;
  padding: 0rem 2.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

@media screen and (max-width: 749px) {
  .claim-form-section {
    padding: 1.5rem;
  }
}

.form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(var(--color-foreground), 0.1);
}

.form-header h2 {
  font-size: 1.5rem;
}

/* Form Groups */
.form-group {
  margin-bottom: 3rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 1rem;
  color: rgb(var(--color-foreground));
  font-size: 1.4rem;
  line-height: 1.5;
  text-align: left;
}

@media (max-width: 1024px) {
  .form-group label {
    font-size: 1.6rem;
  }
}

.form-group .order-item {
  font-size: 1.2rem;
  line-height: 1;
  text-align: left;
  margin-bottom:0rem;
}

@media (max-width: 1024px) {
  .form-group .order-item {
    font-size: 1.4rem;
  }
}
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  border: 1.5px solid rgba(var(--color-foreground), 0.15);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1.2rem;
  line-height: 1.6;
  resize: vertical;
  background-color: #fff;
  transition: border-color 0.2s ease;
}

@media (max-width: 1024px) {
  .form-group textarea {
    font-size: 1.4rem;
  }
}

.form-group textarea:focus {
  outline: none;
  border-color: rgb(var(--color-foreground));
}

.help-text {
  font-size: 0.875rem;
  color: rgba(var(--color-foreground), 0.65);
  margin-bottom: 1rem;
  margin-top: 0.5rem;
  line-height: 1.7;
  text-align:left;
}

@media (max-width: 1024px) {
  .help-text {
    font-size: 1rem;
  }
}

.field-error {
  display: block;
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  font-weight: 500;
}
.form-group textarea:focus {
  outline: none;
  border-color: rgb(var(--color-foreground));
}

/* Order List */
.order-list {
  display: grid;
  gap: 1rem;
}

.order-item {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  transition: all 0.2s ease;
  background: rgba(var(--color-foreground), 0.01);
  font-weight: 600 !important;
  color:#666666 !important;
}

.order-item:hover {
  border-color: rgba(var(--color-foreground), 0.3);
  background: rgba(var(--color-foreground), 0.03);
}

.order-item input[type="radio"] {
  /* margin: 0.25rem 1rem 0 0; */
  /* width: 18px;
  height: 18px; */
  cursor: pointer;
  flex-shrink: 0;
}

.order-item input[type="radio"]:checked + .order-item-label {
  color: rgb(var(--color-foreground));
}

.order-item-label {
  flex: 1;
}

.order-item-number {
  font-weight: 600;
  font-size: 0.9375rem;
  color: rgb(var(--color-foreground));
  margin-bottom: 0.375rem;
}

.order-item-date {
  font-size: 0.875rem;
  color: rgba(var(--color-foreground), 0.6);
  font-weight: 400;
}
/* Product List */
.product-list {
  display: grid;
  gap: 1rem;
}

.product-item {
  display: flex;
  align-items: center;
  border-radius: 4px;
  transition: all 0.2s ease;
  cursor: pointer;
  font-size:1.2rem !important;
  margin:0 !important;
  background: rgba(var(--color-foreground), 0.01);
  font-weight: 600 !important;
  color:#666666 !important;
}

@media (max-width: 1024px) {
  .product-item {
    font-size: 1.4rem !important;
  }
}

.product-item:hover {
  border-color: rgba(var(--color-foreground), 0.25);
  background: rgba(var(--color-foreground), 0.02);
}

.product-item input[type="checkbox"] {
  cursor: pointer;
}

/* Radio Group */
.radio-group {
  display: grid;
  gap: 0.75rem;
}

.radio-label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 4px;
  background: rgba(var(--color-foreground), 0.01);
  font-size:1.2rem !important;
  font-weight: 600 !important;
  margin:0 !important;
  color:#666666 !important;
}

@media (max-width: 1024px) {
  .radio-label {
    font-size: 1.4rem !important;
  }
}

.radio-label:hover {
  border-color: rgba(var(--color-foreground), 0.25);
  background: rgba(var(--color-foreground), 0.02);
}

.radio-label input[type="radio"] {
  cursor: pointer;
  flex-shrink: 0;
}

.radio-label span {
  flex: 1;
}

/* File Upload */
.file-upload-container {
  margin-bottom: 1.5rem;
  text-align: left;
}

.file-upload-container button {
  background-color: rgb(var(--color-foreground));
  color: rgb(var(--color-background));
  border: none;
  padding: 0.875rem 2rem;
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: opacity 0.2s ease;
  border-radius: 2px;
}

.file-upload-container button:hover {
  opacity: 0.85;
}
.preview-item {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border: 2px solid rgba(var(--color-foreground), 0.1);
  border-radius: 4px;
  overflow: hidden;
  background-color: #fafafa;
  transition: border-color 0.2s ease;
}

.preview-item:hover {
  border-color: rgba(var(--color-foreground), 0.2);
}

.preview-item img,
.preview-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-item-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  background-color: rgba(0, 0, 0, 0.75);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  transition: all 0.2s;
  font-weight: 600;
}

.preview-item-remove:hover {
  background-color: #dc2626;
  transform: scale(1.1);
}

.preview-item-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: white;
  padding: 6px 8px;
  font-size: 0.875rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Form Actions */
.form-actions {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 2px solid rgba(var(--color-foreground), 0.08);
  display: flex;
  justify-content: flex-end;
  text-align: left;
}

.form-actions button {
  background-color: rgb(var(--color-foreground));
  color: rgb(var(--color-background));
  border: none;
  padding: 1rem 3rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: opacity 0.2s ease;
  border-radius: 2px;
}

.form-actions button:hover:not(:disabled) {
  opacity: 0.85;
}

.form-actions button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media screen and (max-width: 749px) {
  .form-actions {
    justify-content: stretch;
  }
  
  .form-actions button {
    width: 100%;
  }
}

/* File Uploads */
.file-uploads {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.file-upload-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.file-input {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid rgba(var(--color-foreground), 0.2);
  border-radius: 0.25rem;
}

.file-name {
  font-size: 0.875rem;
  color: rgba(var(--color-foreground), 0.6);
}

/* Image/Video Previews */
.image-previews,
.video-previews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.preview-item {
  position: relative;
  border: 1px solid rgba(var(--color-foreground), 0.2);
  border-radius: 0.5rem;
  overflow: hidden;
}

.preview-item img,
.preview-item video {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

.preview-item-remove {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.preview-item-remove:hover {
  background: rgba(0, 0, 0, 0.9);
}

/* Form Actions */
.form-actions {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(var(--color-foreground), 0.1);
  display: block;
}

#submit-claim-btn {
  background-color: rgb(var(--color-foreground));
  color: rgb(var(--color-background));
  padding: 1rem 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size:1.6rem;
  width: auto;
  min-width: 180px;
  display: inline-block;
}

#submit-claim-btn:hover {
  opacity: 0.9;
}

#submit-claim-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Modals */
.claim-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.claim-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.claim-modal-content {
  position: relative;
  background: rgb(var(--color-background));
  border-radius: 0.75rem;
  max-width: 900px;
  width: 90%;
  max-height: 90vh;

/* Panel behavior on tablet/mobile: full-width and slide in from right */
@media (max-width: 1024px) {
  .claims-layout.form-open .claims-center {
    transform: none; /* do not push content on smaller screens */
  }
}
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  z-index: 10001;
}

.claim-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(var(--color-foreground), 0.1);
}

.claim-modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
}

.claim-modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: rgba(var(--color-foreground), 0.5);
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
}

.claim-modal-close:hover {
  color: rgb(var(--color-foreground));
}

.claim-modal-body {
  padding: 1.5rem;
  text-align: left;
}

/* Success Modal */
.success-modal-content {
  text-align: center;
  padding: 2rem;
}

.success-icon {
  width: 64px;
  height: 64px;
  background-color: #10b981;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
}

.success-modal-content h2 {
  margin-bottom: 1rem;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* Claim Details */
.claim-detail-row {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(var(--color-foreground), 0.08);
  text-align: left;
}

.claim-detail-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.claim-detail-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: rgba(var(--color-foreground), 0.7);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left;
}

.claim-detail-value {
  font-size: 1.2rem;
  line-height: 1.6;
  text-align: left;
}

.claim-products-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0 0;
}

.claim-products-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.claim-product-item {
  padding: 1rem;
  background: rgba(var(--color-foreground), 0.02);
  border-radius: 0.5rem;
  border: 1px solid rgba(var(--color-foreground), 0.1);
}

.product-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(var(--color-foreground), 0.1);
}

.product-quantity {
  font-size: 0.875rem;
  color: rgba(var(--color-foreground), 0.7);
  background: rgba(var(--color-foreground), 0.05);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
}

.product-item-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 1.2rem;
}

.product-item-details span {
  color: rgba(var(--color-foreground), 0.8);
}

.claim-images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.claim-image-thumb {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: transform 0.2s ease;
  border: 1px solid rgba(var(--color-foreground), 0.1);
}

.claim-image-thumb:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.claim-videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.claim-video-thumb {
  width: 100%;
  height: 150px;
  border-radius: 0.5rem;
  border: 1px solid rgba(var(--color-foreground), 0.1);
}

.status-timeline {
  margin-top: 0.5rem;
}

.timeline-item {
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: rgba(var(--color-foreground), 0.7);
}

.timeline-item:before {
  content: "•";
  margin-right: 0.5rem;
}

/* Responsive Design */
@media (max-width: 749px) {
  .claims-table {
    font-size: 0.875rem;
  }

  /* Pagination mobile styles */
  .pagination-controls {
    width: 100%;
  }

  .pagination-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }

  .pagination-page {
    min-width: 2.25rem;
    padding: 0.5rem;
  }

  .pagination-pages {
    flex: 1;
    justify-content: center;
  }

  .pagination-info {
    font-size: 0.875rem;
  }

  /* Make table responsive with labels */
  .claims-table thead {
    display: none;
  }

  .claims-table tbody tr {
    display: block;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(var(--color-foreground), 0.1);
    border-radius: 8px;
    padding: 1rem;
    background: white;
  }

  .claims-table tbody tr:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }

  .claims-table td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.5rem 0;
    text-align: left;
    border: none;
  }

  .claims-table td::before {
    content: attr(data-label);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    color: rgba(var(--color-foreground), 0.7);
    flex: 0 0 40%;
    padding-right: 1rem;
  }

  .claims-table td:not(:last-child) {
    border-bottom: 1px solid rgba(var(--color-foreground), 0.05);
  }

  .form-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .claim-modal-content {
    width: 95%;
    max-width: 95%;
    max-height: 95vh;
  }

  .claim-modal-header h2 {
    font-size: 1.25rem;
  }

  .claim-modal-body {
    padding: 1rem;
  }
  }

  .modal-actions {
    flex-direction: column;
  }

  .modal-actions .button {
    width: 100%;
  }

  .image-previews,
  .video-previews {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }
}


/* Product Incident Form (per checked product) */
.product-forms { margin-top: 1rem; }
.product-incident-form {
  border: 1px solid rgba(var(--color-foreground), 0.1);
  border-radius: 4px;
  padding: 1rem;
  margin: 2rem 0 1rem;
  background: rgb(var(--color-background));
  position:relative;
  font-size:1.2rem !important;
}
.product-incident-title { background-color:#fff;position:absolute;top:-1.2rem;font-weight: 600; margin-bottom: 0.5rem; color: rgb(var(--color-foreground)); }
.product-incident-subtitle { margin-bottom: 0.75rem; color: rgba(var(--color-foreground), 0.7); text-align: left;margin-top:2.5rem; }
.product-incident-grid {
  display: grid;
  grid-template-columns: 10fr 26fr 24fr 20fr 20fr 20fr;
  column-gap: 1rem;
  row-gap: 1rem;
  align-items: start;
}

.product-incident-field {}
.product-incident-label { font-weight: 600; display: block; margin-bottom: 0.25rem; font-size:1.2rem !important }
.product-incident-input {
  width: 100%;
  box-sizing: border-box;
  height: 44px !important;
  padding: 0.5rem 0.75rem !important;
  font-size: 1.2rem !important;
  line-height: 1.2 !important;
  border: 1px solid rgba(var(--color-foreground), 0.15) !important;
  border-radius: 4px !important;
  background: #fff !important;
}
select.product-incident-input {
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
}
.product-incident-inline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 200px);
  column-gap: 0.5rem;
  align-items: center;
}
.product-incident-help {
  white-space: normal;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  width: 100%;
  box-sizing: border-box;
  background:none !important;
  box-shadow: none !important;
  border: none !important;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .product-incident-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .product-incident-grid { grid-template-columns: 1fr; }
}

/* Sticker Info Modal overrides */
.sticker-info-modal .claim-modal-content { max-width: 800px; }
.sticker-info-body { text-align: center; }
.sticker-info-image { max-width: 100%; height: auto; }

/* Hide native file inputs; use buttons instead */
#image-input,
#video-input {
  display: none;
}

/* ========================================
   ADMIN MANAGEMENT SECTION STYLES
   ======================================== */

/* Modal - Large for admin content */
.claim-modal-content--large {
  max-width: 1000px;
  max-height: 90vh;
}

/* Admin Section in Sliding Panel */
.admin-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(var(--color-foreground), 0.15);
}

.admin-section h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: rgb(var(--color-foreground));
}

.admin-section .form-group {
  margin-bottom: 1.5rem;
}

.admin-section label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: rgb(var(--color-foreground));
}

.admin-section textarea,
.admin-section input[type="text"],
.admin-section select {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem;
  font-size: 1.2rem;
  line-height: 1.5;
  border: 1px solid rgba(var(--color-foreground), 0.15);
  border-radius: 4px;
  background: #fff;
  font-family: inherit;
}

.admin-section textarea {
  resize: vertical;
  min-height: 100px;
}

/* Admin Management Section */
.admin-management-section {
  margin-top: 2rem;
}

.section-divider {
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(var(--color-foreground), 0.2), transparent);
  margin: 2rem 0;
}

.admin-section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: rgb(var(--color-foreground));
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(var(--color-foreground), 0.1);
}

.subsection-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgb(var(--color-foreground));
  margin: 1.5rem 0 1rem;
}

/* Resolution Field Groups */
.admin-resolution-group {
  margin-bottom: 2rem;
}

.resolution-field-group {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.resolution-field-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgb(var(--color-foreground));
  margin-bottom: 0.5rem;
  display: block;
}

/* Read-only field for customers */
.readonly-field {
  padding: 0.875rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  color: rgba(var(--color-foreground), 0.8);
  font-size: 0.9375rem;
  line-height: 1.6;
  min-height: 45px;
}

/* Admin Input Elements */
.admin-input,
.admin-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid rgba(var(--color-foreground), 0.2);
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.9375rem;
  background: white;
  transition: border-color 0.2s ease;
}

.admin-input:focus,
.admin-textarea:focus {
  outline: none;
  border-color: rgb(var(--color-foreground));
}

.admin-textarea {
  resize: vertical;
  min-height: 80px;
}

/* Claim File Notes Section */
.claim-file-notes-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(var(--color-foreground), 0.1);
}

.claim-table-section {
  margin-bottom: 2rem;
}

.claim-table-section h5 {
  font-size: 1rem;
  font-weight: 600;
  color: rgb(var(--color-foreground));
  margin-bottom: 0.75rem;
}

/* Admin Tables */
.claim-admin-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  font-size: 1rem;
}

.claim-admin-table thead {
  background-color: #f9fafb;
}

.claim-admin-table th {
  padding: 0.75rem;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(var(--color-foreground), 0.7);
  border-bottom: 2px solid #e5e7eb;
}

.claim-admin-table tbody tr {
  border-bottom: 1px solid rgba(var(--color-foreground), 0.1);
}

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

.claim-admin-table td {
  padding: 1rem;
  vertical-align: middle;
  font-size: 1.125rem;
}

.admin-table-input {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid rgba(var(--color-foreground), 0.2);
  border-radius: 4px;
  font-size: 1.125rem;
  background: white;
  transition: border-color 0.2s ease;
}

.admin-table-input:focus {
  outline: none;
  border-color: rgb(var(--color-foreground));
}

.admin-table-input[type="number"] {
  max-width: 120px;
}

.admin-table-input select,
.claim-admin-table select {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid rgba(var(--color-foreground), 0.2);
  border-radius: 4px;
  font-size: 1.125rem;
  background: white;
  color: rgb(var(--color-foreground));
  cursor: pointer;
  font-family: inherit;
  line-height: 1.6;
}

.admin-table-input select:focus,
.claim-admin-table select:focus {
  outline: none;
  border-color: rgb(var(--color-foreground));
}

/* Admin Actions */
.admin-actions {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(var(--color-foreground), 0.1);
  display: flex;
  justify-content: flex-end;
}

/* Audit Note */
.audit-note {
  font-style: italic;
}

/* Responsive Adjustments for Admin Section */
@media (max-width: 749px) {
  .claim-modal-content--large {
    max-width: 95%;
  }
  
  .claim-admin-table {
    font-size: 0.875rem;
  }
  
  .claim-admin-table th,
  .claim-admin-table td {
    padding: 0.5rem;
  }
  
  .admin-actions {
    justify-content: stretch;
  }
  
  .admin-actions .button {
    width: 100%;
  }
}

/* Admin Management Section in Modal */
.admin-management-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(var(--color-foreground), 0.1);
}

.section-divider {
  margin: 2rem 0 1.5rem 0;
  border-top: 2px solid rgba(var(--color-foreground), 0.1);
}

.admin-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgb(var(--color-foreground));
  margin-bottom: 1.5rem;
}

.admin-subsection-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: rgba(var(--color-foreground), 0.85);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.admin-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.admin-field label {
  display: block;
  font-weight: 600;
  color: rgba(var(--color-foreground), 0.7);
  margin-bottom: 0.5rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-field input[type="text"],
.admin-field select,
.admin-field textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid rgba(var(--color-foreground), 0.2);
  border-radius: 0.375rem;
  font-size: 1.125rem;
  font-family: inherit;
  background: rgb(var(--color-background));
  color: rgb(var(--color-foreground));
}

.admin-field textarea {
  resize: vertical;
  min-height: 80px;
}

.checklist-product {
  font-size: 1.125rem;
  color: rgb(var(--color-foreground));
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.checklist-question {
  font-size: 1.125rem;
  color: rgb(var(--color-foreground));
  margin-bottom: 0.75rem;
  font-weight: 400;
}

.admin-status-field {
  margin-bottom: 1.5rem;
}

.admin-status-options {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 400;
  cursor: pointer;
  font-size: 1.125rem;
  color: rgb(var(--color-foreground));
}

.radio-option input[type="radio"] {
  cursor: pointer;
  width: 18px;
  height: 18px;
}

.radio-option input[type="radio"]:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.radio-option span {
  color: rgb(var(--color-foreground));
  font-weight: 400;
}

/* Status color coding */
.radio-option input[type="radio"][value="Open"]:checked ~ span {
  color: #16a34a;
  font-weight: 600;
}

.radio-option input[type="radio"][value="Awaiting Reply"]:checked ~ span {
  color: #ea580c;
  font-weight: 600;
}

.radio-option input[type="radio"][value="Authorization Requested"]:checked ~ span {
  color: #dc2626;
  font-weight: 600;
}

.radio-option input[type="radio"][value="Resolved"]:checked ~ span {
  color: #2563eb;
  font-weight: 600;
}

.radio-option input[type="radio"]:checked {
  accent-color: currentColor;
}

/* Case Cost Section */
.admin-case-cost {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.case-cost-box {
  border: 1px solid rgba(var(--color-foreground), 0.2);
  border-radius: 0.5rem;
  padding: 1.25rem;
  background: rgba(var(--color-foreground), 0.02);
}

.case-cost-box h5 {
  font-size: 1.125rem;
  font-weight: 700;
  color: rgb(var(--color-foreground));
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(var(--color-foreground), 0.1);
}

.cost-item {
  font-size: 1.125rem;
  color: rgba(var(--color-foreground), 0.85);
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
}

.cost-item strong {
  font-weight: 600;
  color: rgb(var(--color-foreground));
  margin-top: 0.5rem;
  display: block;
  width: 100%;
}

.cost-item span {
  font-weight: 500;
  color: rgb(var(--color-foreground));
}

.admin-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
}

.admin-actions .button {
  min-width: 150px;
}

@media (max-width: 768px) {
  .admin-case-cost {
    grid-template-columns: 1fr;
  }
}

.customer:not(.account):not(.order){
  max-width: 100vw;
}
/* Media Item Controls */
.claim-images-grid,
.claim-videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}

.media-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(var(--color-foreground), 0.1);
}

.media-item img,
.media-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-delete-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.9);
  color: white;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 0;
}

.media-delete-btn:hover {
  background: rgb(220, 38, 38);
  transform: scale(1.1);
}

.media-add {
  background: rgba(var(--color-foreground), 0.05);
  border: 2px dashed rgba(var(--color-foreground), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.media-add:hover {
  background: rgba(var(--color-foreground), 0.08);
  border-color: rgba(var(--color-foreground), 0.3);
}

.media-add-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  text-align: center;
  padding: 1rem;
}

.media-add-label span {
  font-size: 2rem;
  font-weight: 300;
  color: rgba(var(--color-foreground), 0.6);
}

.media-add-label small {
  font-size: 0.875rem;
  color: rgba(var(--color-foreground), 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Inline Edit Input for PI Label */
.inline-edit-input {
  border: 1px solid rgba(var(--color-foreground), 0.2);
  border-radius: 0.25rem;
  padding: 2px 6px;
  font-size: 0.9rem;
  font-family: inherit;
  background: rgba(var(--color-foreground), 0.02);
  transition: all 0.2s ease;
}

.inline-edit-input:focus {
  outline: none;
  border-color: rgb(var(--color-foreground));
  background: white;
}

.inline-edit-input:hover {
  border-color: rgba(var(--color-foreground), 0.4);
}

/* Media deletion and pending upload indicators */
.deletion-badge {
  position: absolute;
  top: 5px;
  left: 5px;
  background: #f44336;
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  z-index: 10;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(244, 67, 54, 0.3);
}

.media-item.pending-deletion {
  opacity: 0.4;
  pointer-events: none;
  position: relative;
}

.media-item.pending-deletion::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(244, 67, 54, 0.1) 10px,
    rgba(244, 67, 54, 0.1) 20px
  );
}

.media-add-label.pending-uploads {
  background: rgba(76, 175, 80, 0.1);
  border-radius: 8px;
}

.media-add-label.pending-uploads small {
  color: #4CAF50;
  font-weight: 600;
}

