/*
 Theme Name:   Safari Theme
 Theme URI:    https://generatepress.com
 Description:  Safari Theme, To be used as a child theme of GeneratePress child
 Author:       Steve Ayo
 Author URI:   https://steveayo.com
 Template:     generatepress
 Version:      0.1
*/

/* GEPG Control Number Column Styles for Listings Table */
.listings-table .col-control-number {
  min-width: 180px;
  width: 180px;
  vertical-align: top;
}

.listings-table .control-number-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.listings-table .control-number-value {
  font-family: "SF Mono", "Monaco", "Inconsolata", "Roboto Mono", "Courier New",
    monospace;
  font-size: 13px;
  font-weight: 600;
  background: #f8f9fa;
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid #dee2e6;
  letter-spacing: 0.5px;
  color: #495057;
  word-break: break-all;
  cursor: help;
  transition: all 0.2s ease;
  max-width: 160px;
}

.listings-table .control-number-value:hover {
  background: #e9ecef;
  border-color: #adb5bd;
  cursor: pointer;
}

.listings-table .control-number-value:active {
  background: #d4edda;
  border-color: #c3e6cb;
  transform: scale(0.98);
}

.listings-table .control-number-na {
  color: #6c757d;
  font-style: italic;
  font-size: 13px;
  padding: 6px 0;
}

.listings-table .payment-status {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 3px 6px;
  border-radius: 3px;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
}

.listings-table .payment-status-paid {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.listings-table .payment-status-pending {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

.listings-table .payment-icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.listings-table .payment-status-text {
  white-space: nowrap;
}

/* Responsive adjustments for control number column */
@media (max-width: 1024px) {
  .listings-table .col-control-number {
    min-width: 160px;
    width: 160px;
  }

  .listings-table .control-number-value {
    font-size: 12px;
    padding: 5px 8px;
    max-width: 140px;
  }

  .listings-table .payment-status {
    font-size: 10px;
    padding: 2px 5px;
  }
}

@media (max-width: 768px) {
  .listings-table .col-control-number {
    min-width: 120px;
    width: 120px;
  }

  .listings-table .control-number-value {
    font-size: 11px;
    padding: 4px 6px;
    max-width: 110px;
  }

  .listings-table .payment-status-text {
    display: none; /* Hide text on mobile, keep only icon */
  }

  .listings-table .payment-status {
    justify-content: center;
    padding: 4px;
    min-width: 24px;
  }
}

@media (max-width: 480px) {
  .listings-table .col-control-number {
    min-width: 100px;
    width: 100px;
  }

  .listings-table .control-number-value {
    font-size: 10px;
    padding: 3px 5px;
    max-width: 90px;
  }
}
