/**
 * Complete Styles for Crackin Events Customer Portal
 */

/* ==========================================
   PAYMENTS PAGE STYLES
   ========================================== */

.payments-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.payment-progress-card,
.balance-due-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.payment-progress-card h2,
.balance-due-card h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 20px 0;
    color: #1a1a1a;
}

.progress-chart-container {
    position: relative;
    max-width: 250px;
    margin: 0 auto 30px;
}

.progress-center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.progress-percentage {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
}

.progress-label {
    font-size: 14px;
    color: #666;
}

.progress-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.progress-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
}

.progress-item.paid {
    background: #d4edda;
}

.progress-item.remaining {
    background: #fff3cd;
}

.progress-item-label {
    font-size: 14px;
    color: #666;
}

.progress-item-value {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}

.due-date-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.due-icon {
    font-size: 48px;
}

.due-date-info {
    flex: 1;
}

.due-date {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.due-countdown {
    font-size: 16px;
    color: #666;
}

.due-amount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #fff3cd;
    border-radius: 6px;
}

.due-amount-label {
    font-size: 16px;
    color: #666;
}

.due-amount-value {
    font-size: 24px;
    font-weight: 700;
    color: #856404;
}

.payment-complete {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: #d4edda;
    border-radius: 6px;
}

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

.complete-text {
    font-size: 18px;
    font-weight: 600;
    color: #155724;
}

.payments-history {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.payments-history h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 20px 0;
}

.no-payments {
    text-align: center;
    padding: 40px;
    color: #999;
}

.payments-table {
    width: 100%;
}

.payment-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr 1fr;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.payment-row.payment-header {
    background: #f8f9fa;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
}

.payment-row:last-child {
    border-bottom: none;
}

/* ==========================================
   CUSTOMER DETAILS PAGE STYLES
   ========================================== */

.profile-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.profile-section {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 20px;
}

.profile-section h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 20px 0;
    color: #1a1a1a;
    padding-bottom: 15px;
    border-bottom: 2px solid #007bff;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.profile-item {
    padding: 15px 0;
}

.profile-item.full-width {
    grid-column: 1 / -1;
}

.profile-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 6px;
    font-weight: 500;
}

.profile-value {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.password-reset-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.password-reset-container p {
    margin: 0;
    color: #666;
}

.form-section {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 20px;
}

.form-section h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 20px 0;
    color: #1a1a1a;
    padding-bottom: 15px;
    border-bottom: 2px solid #007bff;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.form-grid .full-width {
    grid-column: 1 / -1;
}

.form-notice {
    background: #cfe2ff;
    border-left: 4px solid #0d6efd;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

/* ==========================================
   TASK LIST PAGE STYLES
   ========================================== */

.task-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.tasks-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.task-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-left: 4px solid #007bff;
    transition: all 0.3s ease;
}

.task-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.task-card.completed {
    opacity: 0.7;
    background: #f8f9fa;
}

.task-card.overdue {
    border-left-color: #dc3545;
    background: #fff5f5;
}

.task-card-header {
    display: flex;
    gap: 15px;
    flex: 1;
}

.task-checkbox {
    padding-top: 3px;
}

.task-complete-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.task-info {
    flex: 1;
}

.task-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.task-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.task-title.completed-text {
    text-decoration: line-through;
    color: #999;
}

.task-badge {
    background: #007bff;
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.task-description {
    color: #666;
    margin: 8px 0;
    font-size: 14px;
}

.task-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: #666;
}

.overdue-label {
    color: #dc3545;
    font-weight: 600;
}

.due-soon-label {
    color: #ffc107;
    font-weight: 600;
}

.task-updated {
    color: #999;
}

.task-actions {
    display: flex;
    gap: 8px;
}

.task-action-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background 0.2s;
}

.task-action-btn:hover {
    background: #f8f9fa;
}

.checkbox-field {
    display: flex;
    align-items: center;
}

.checkbox-field label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-field input[type="checkbox"] {
    width: auto;
    margin: 0;
}

/* ==========================================
   HIRE AGREEMENTS PAGE STYLES
   ========================================== */

.no-documents {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.no-documents-icon {
    font-size: 72px;
    margin-bottom: 20px;
}

.no-documents h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.no-documents p {
    color: #666;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.document-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.document-icon {
    font-size: 48px;
}

.document-details {
    flex: 1;
}

.document-name {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 10px 0;
}

.document-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

.document-status.status-completed {
    background: #d4edda;
    color: #155724;
}

.document-status.status-pending {
    background: #fff3cd;
    color: #856404;
}

.document-status.status-declined,
.document-status.status-expired {
    background: #f8d7da;
    color: #721c24;
}

.status-icon {
    font-size: 16px;
}

.document-date {
    font-size: 13px;
    color: #666;
}

.document-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.agreements-summary {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    text-align: center;
}

.summary-stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #007bff;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: #666;
}

/* ==========================================
   INVOICES PAGE STYLES
   ========================================== */

.no-invoices {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.no-invoices-icon {
    font-size: 72px;
    margin-bottom: 20px;
}

.no-invoices h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.no-invoices p {
    color: #666;
}

.invoices-table-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    overflow-x: auto;
    margin-bottom: 30px;
}

.invoices-table {
    width: 100%;
    border-collapse: collapse;
}

.invoices-table thead {
    background: #f8f9fa;
}

.invoices-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #1a1a1a;
    border-bottom: 2px solid #dee2e6;
}

.invoices-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.invoices-table tr:last-child td {
    border-bottom: none;
}

.invoice-row.overdue-row {
    background: #fff5f5;
}

.invoice-number {
    font-weight: 600;
}

.invoice-status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}

.invoice-status.status-paid {
    background: #d4edda;
    color: #155724;
}

.invoice-status.status-unpaid,
.invoice-status.status-partial {
    background: #fff3cd;
    color: #856404;
}

.invoice-status.status-overdue {
    background: #f8d7da;
    color: #721c24;
}

.invoice-status.status-void {
    background: #e2e3e5;
    color: #383d41;
}

.overdue-badge {
    display: inline-block;
    background: #dc3545;
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 8px;
}

.invoice-actions {
    display: flex;
    gap: 8px;
}

.btn-view,
.btn-pay {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-view {
    background: #6c757d;
    color: #fff;
}

.btn-view:hover {
    background: #5a6268;
}

.btn-pay {
    background: #28a745;
    color: #fff;
}

.btn-pay:hover {
    background: #218838;
}

.invoices-summary {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.summary-card {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 20px;
    text-align: center;
}

.summary-card.highlight {
    background: #fff3cd;
}

.summary-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.summary-value {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
}

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

@media (max-width: 992px) {
    .payments-overview {
        grid-template-columns: 1fr;
    }
    
    .documents-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .task-list-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .task-card {
        flex-direction: column;
    }
    
    .task-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .profile-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .payment-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .payment-row .payment-date::before {
        content: "Date: ";
        font-weight: 600;
    }
    
    .payment-row .payment-reference::before {
        content: "Reference: ";
        font-weight: 600;
    }
    
    .payment-row .payment-method::before {
        content: "Method: ";
        font-weight: 600;
    }
    
    .payment-row .payment-amount::before {
        content: "Amount: ";
        font-weight: 600;
    }
    
    .invoices-table-container {
        overflow-x: scroll;
    }
    
    .summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .agreements-status {
        flex-direction: column;
    }
}

/* === Crackin Events Portal - Task List Styles === */

.crackin-task-list {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 20px;
  font-family: "Poppins", sans-serif;
  color: #222;
}

/* Header */
.task-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.task-list-header h1 {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(90deg, #007aff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
}

.task-list-subtitle {
  flex-basis: 100%;
  color: #666;
  margin-top: 5px;
  margin-bottom: 10px;
}

#add-task-btn {
  background: linear-gradient(135deg, #007aff, #00d4ff);
  border: none;
  color: #fff;
  padding: 10px 22px;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 3px 8px rgba(0, 122, 255, 0.3);
}
#add-task-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 122, 255, 0.4);
}

/* === Task Cards === */
.tasks-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.task-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: #fff;
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07);
  transition: all 0.25s ease;
  border-left: 6px solid transparent;
  position: relative;
}

.task-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

/* Priority Borders */
.task-card.priority-high { border-left-color: #ff3b30; }
.task-card.priority-medium { border-left-color: #ffcc00; }
.task-card.priority-low { border-left-color: #34c759; }

/* Completed */
.task-card.completed {
  opacity: 0.7;
  background: #f7f7f7;
  text-decoration: line-through;
}

/* Overdue and due soon effects */
.task-card.overdue { border-left-color: #ff3b30; }
.task-card.overdue .task-title { color: #ff3b30; }

.task-card .due-soon-label {
  color: #ff9500;
  font-weight: 600;
  margin-left: 6px;
}
.task-card .overdue-label {
  color: #ff3b30;
  font-weight: 600;
  margin-left: 6px;
}

/* Priority Icons */
.priority-icon {
  margin-right: 6px;
  font-size: 1.1em;
}
.priority-high { color: #ff3b30; }
.priority-medium { color: #ffcc00; }
.priority-low { color: #34c759; }

/* Task Info */
.task-info {
  flex: 1;
  margin-left: 10px;
}
.task-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.task-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
}
.task-title.completed-text {
  color: #888;
}
.task-badge {
  background: #eef5ff;
  color: #007aff;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 500;
}

/* Description + meta */
.task-description {
  margin: 6px 0 8px;
  color: #555;
  font-size: 0.95rem;
}
.task-meta {
  font-size: 0.85rem;
  color: #666;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Checkbox */
.task-checkbox input {
  width: 20px;
  height: 20px;
  accent-color: #007aff;
  cursor: pointer;
}

/* Action buttons */
.task-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}

.task-action-btn {
  border: none;
  background: #f3f4f6;
  font-size: 1.2rem;
  border-radius: 6px;
  padding: 4px 8px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.task-action-btn:hover {
  background: #007aff;
  color: #fff;
  transform: translateY(-2px);
}

/* === Empty state === */
.no-tasks {
  background: #f9fafc;
  border-radius: 12px;
  text-align: center;
  padding: 40px 20px;
  color: #666;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.03);
}
.no-tasks p {
  margin: 0;
  font-size: 1rem;
}

/* === Modals === */
.task-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}
.task-modal .modal-content {
  background: #fff;
  border-radius: 12px;
  padding: 25px 30px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  animation: slideUp 0.35s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.modal-header h2 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: #007aff;
}
.modal-close {
  font-size: 1.6rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #888;
  transition: color 0.2s ease;
}
.modal-close:hover { color: #ff3b30; }

.form-field {
  margin-bottom: 16px;
}
.form-field label {
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
}
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 0.95rem;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: #007aff;
  box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.15);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 15px;
}
.btn-primary {
  background: linear-gradient(135deg, #007aff, #00d4ff);
  border: none;
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 122, 255, 0.3);
}
.btn-secondary {
  background: #f2f2f2;
  border: none;
  color: #333;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.25s ease;
}
.btn-secondary:hover {
  background: #e5e5e5;
}

/* Toast Notifications */
#crackin-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
}

.crackin-toast-message {
  background: #333;
  color: #fff;
  padding: 12px 18px;
  margin-top: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  font-size: 15px;
  letter-spacing: 0.3px;
}

.crackin-toast-message.show {
  opacity: 1;
  transform: translateY(0);
}

.crackin-toast-message.success {
  background: linear-gradient(45deg, #22c55e, #16a34a);
}

.crackin-toast-message.error {
  background: linear-gradient(45deg, #ef4444, #dc2626);
}

.invoice-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.invoice-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border-left: 6px solid #9ca3af;
  border-radius: 10px;
  padding: 1rem 1.5rem;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
}

.invoice-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.invoice-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.invoice-number {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
}

.invoice-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
}

.invoice-details {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: #374151;
  margin-top: 0.3rem;
}

.invoice-actions {
  display: flex;
  gap: 0.6rem;
}

.btn-view,
.btn-pay {
  border: none;
  border-radius: 6px;
  padding: 0.5rem 0.9rem;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
}

.btn-view {
  background: #e5e7eb;
  color: #111;
}

.btn-pay {
  background: #2563eb;
  color: #fff;
}

.btn-pay:hover {
  background: #1d4ed8;
}

/* Left border colors */
.status-paid { border-left-color: #16a34a; }
.status-unpaid { border-left-color: #facc15; }
.status-overdue { border-left-color: #ef4444; }
.status-partial { border-left-color: #3b82f6; }
.status-void { border-left-color: #9ca3af; }
.status-unknown { border-left-color: #6b7280; }

/* Status chip colors */
.status-paid .invoice-status-chip { background: rgba(22,163,74,0.1); color: #16a34a; }
.status-unpaid .invoice-status-chip { background: rgba(250,204,21,0.1); color: #b45309; }
.status-overdue .invoice-status-chip { background: rgba(239,68,68,0.1); color: #b91c1c; }
.status-partial .invoice-status-chip { background: rgba(59,130,246,0.1); color: #1d4ed8; }
.status-void .invoice-status-chip { background: rgba(156,163,175,0.1); color: #374151; }

/* Summary cards */
.invoices-summary {
  margin-top: 2rem;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.summary-card {
  background: #fff;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.summary-card.highlight {
  border-left: 4px solid #2563eb;
}

.summary-label {
  font-size: 0.9rem;
  color: #6b7280;
}

.summary-value {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 0.3rem;
  color: #111827;
}

.venue-card.styled-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 1.5rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}
.venue-card.styled-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.venue-label {
  font-weight: 600;
  color: #555;
}
.venue-value {
  color: #111;
  font-size: 1.05rem;
}

/* --------------------------------------------------------
   Crackin Booking Page — Vibrant Modern Style
-------------------------------------------------------- */

.crackin-booking {
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
    padding-bottom: 60px;
}

/* Section Headers */
.crackin-booking h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 1rem;
}

.crackin-booking h2::before {
    content: "🎉";
    font-size: 1.8rem;
}

/* Venue / Event Information Card */
.venue-section .venue-card {
    background: linear-gradient(135deg, #ffffff 0%, #f7faff 100%);
    border-left: 6px solid #6a5af9;
    box-shadow: 0 4px 14px rgba(106, 90, 249, 0.1);
    border-radius: 14px;
    padding: 25px;
    margin-bottom: 40px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.venue-section .venue-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(106, 90, 249, 0.15);
}

.venue-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.venue-info-item {
    background: rgba(255,255,255,0.7);
    border-radius: 10px;
    padding: 10px 15px;
}

.venue-label {
    font-weight: 600;
    color: #6a5af9;
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.venue-value {
    font-size: 1rem;
    color: #222;
    font-weight: 500;
}

/* Items Section */
.items-section h2::before {
    content: "🪄";
}

.crackin-booking .items-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Product Card Styling */
.product-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ffffff 0%, #f9f9ff 100%);
    border-left: 6px solid #ff6b6b;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    border-left-color: #6a5af9;
}

.product-image-container {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f1f1f1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-initials {
    font-size: 1.8rem;
    font-weight: 700;
    color: #555;
}

.product-details {
    flex: 1;
}

.product-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2a2a2a;
    margin-bottom: 8px;
}

.product-description {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.product-meta {
    display: flex;
    gap: 40px;
}

.meta-label {
    font-weight: 600;
    color: #6a5af9;
}

.meta-value {
    color: #111;
}

/* Cost Breakdown */
.cost-breakdown {
    margin-top: 40px;
    background: linear-gradient(135deg, #fefefe 0%, #f8f8ff 100%);
    border-left: 6px solid #4caf50;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(76,175,80,0.1);
    padding: 20px 25px;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.breakdown-row:last-child {
    border-bottom: none;
}

.breakdown-label {
    font-weight: 600;
    color: #333;
}

.breakdown-value {
    font-weight: 700;
    color: #111;
}

.discount-row .breakdown-value {
    color: #e74c3c;
}

.total-row .breakdown-value {
    color: #4caf50;
    font-size: 1.1rem;
}
