/* =====================================================
   IMPORT/EXPORT TAB LAYOUT - DEDICATED STYLESHEET
   ===================================================== */

/* Export Cards - Main containers */
#import-export-tab .export-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.2s ease;
}

#import-export-tab .export-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

#import-export-tab .export-card:last-child {
  margin-bottom: 0;
}

/* Card Headers */
#import-export-tab .export-card-header {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

#import-export-tab .export-card-icon {
  color: #3b82f6;
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

#import-export-tab .export-card-title {
  margin: 0 0 4px 0;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.3;
}

#import-export-tab .export-card-description {
  margin: 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}

#import-export-tab .export-card-content {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Button Styling for Import/Export Tab */
#import-export-tab .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  min-height: 38px;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

#import-export-tab .btn:hover {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-color: #9ca3af;
  color: #1f2937;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

#import-export-tab .btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

#import-export-tab .btn i {
  font-size: 14px;
}

/* Special Report Button Styling */
#import-export-tab .btn-report {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-color: #667eea;
  color: white;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

#import-export-tab .btn-report:hover {
  background: linear-gradient(135deg, #5568d3 0%, #63408b 100%);
  border-color: #5568d3;
  color: white;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

#import-export-tab .btn-report i {
  font-size: 15px;
}

/* Backup Button Styling */
#import-export-tab .btn-backup {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-color: #10b981;
  color: white;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

#import-export-tab .btn-backup:hover {
  background: linear-gradient(135deg, #0ea572 0%, #047857 100%);
  border-color: #0ea572;
  color: white;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

#import-export-tab .btn-backup i {
  font-size: 15px;
}

/* Restore Button Styling */
#import-export-tab .btn-restore {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border-color: #3b82f6;
  color: white;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

#import-export-tab .btn-restore:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border-color: #2563eb;
  color: white;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

#import-export-tab .btn-restore i {
  font-size: 15px;
}

/* Button States */
#import-export-tab .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Icon Color Coding for Different Actions */
#import-export-tab .btn i.fa-file-export,
#import-export-tab .btn i.fa-download {
  color: #10b981; /* Green for exports */
}

#import-export-tab .btn i.fa-file-import,
#import-export-tab .btn i.fa-upload {
  color: #3b82f6; /* Blue for imports */
}

#import-export-tab .btn i.fa-camera,
#import-export-tab .btn i.fa-map-marked-alt {
  color: #f59e0b; /* Orange for snapshots */
}

#import-export-tab .btn:hover i {
  color: inherit; /* On hover, match text color */
}

/* Responsive Adjustments */
@media (max-width: 400px) {
  #import-export-tab .export-card-header {
    padding: 10px 12px;
  }

  #import-export-tab .export-card-content {
    padding: 10px 12px;
  }

  #import-export-tab .btn {
    padding: 8px 12px;
    font-size: 12px;
  }
}
