/* Professional Theme for SPCS IT Support System */

:root {
  /* Professional Color Palette */
  --primary-blue: #2563eb;
  --primary-blue-dark: #1e40af;
  --primary-blue-light: #3b82f6;
  
  --secondary-gray: #6b7280;
  --secondary-gray-dark: #4b5563;
  --secondary-gray-light: #9ca3af;
  
  --success-green: #10b981;
  --warning-yellow: #f59e0b;
  --danger-red: #ef4444;
  --info-blue: #3b82f6;
  
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-tertiary: #f3f4f6;
  
  --text-primary: #111827;
  --text-secondary: #6b7280;
  --text-tertiary: #9ca3af;
  
  --border-color: #e5e7eb;
  --border-color-dark: #d1d5db;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
}

/* Global Styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  line-height: 1.5;
}

/* Sky Background */
.ac-sky {
  background-color: var(--bg-secondary);
  min-height: 100vh;
}

/* Navigation */
.ac-nav {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

/* Cards */
.ac-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 2rem;
}

/* Text Colors */
.ac-text-primary {
  color: var(--text-primary);
}

.ac-text-secondary {
  color: var(--text-secondary);
}

/* Buttons */
.ac-button-primary {
  background-color: var(--primary-blue);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.ac-button-primary:hover {
  background-color: var(--primary-blue-dark);
  box-shadow: var(--shadow-md);
}

.ac-button-secondary {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all 0.2s;
}

.ac-button-secondary:hover {
  background-color: var(--bg-tertiary);
  border-color: var(--border-color-dark);
}

.ac-button-danger {
  background-color: var(--danger-red);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.ac-button-danger:hover {
  background-color: #dc2626;
}

/* Input Fields */
.ac-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: all 0.2s;
}

.ac-input:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Borders */
.border-ac-border {
  border-color: var(--border-color);
}

/* Footer */
.ac-footer {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding: 1.5rem;
  text-align: center;
  color: var(--text-secondary);
  margin-top: 4rem;
}

/* User Badge */
.ac-user-badge {
  background-color: var(--bg-tertiary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  color: var(--text-primary);
}

/* Role Badge */
.ac-role-badge {
  background-color: var(--primary-blue);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Stat Cards */
.ac-stat-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.ac-stat-card:hover {
  box-shadow: var(--shadow-md);
}

.ac-stat-card-success {
  border-left: 4px solid var(--success-green);
}

.ac-stat-card-warning {
  border-left: 4px solid var(--warning-yellow);
}

/* Card Footer */
.ac-card-footer {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Tickets */
.ac-ticket-item {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: all 0.2s;
}

.ac-ticket-item:hover {
  background-color: var(--bg-tertiary);
}

.ac-ticket-number {
  font-weight: 600;
  color: var(--primary-blue);
}

/* Badges */
.ac-badge-blue {
  background-color: #dbeafe;
  color: #1e40af;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

.ac-badge-yellow {
  background-color: #fef3c7;
  color: #92400e;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

.ac-badge-green {
  background-color: #d1fae5;
  color: #065f46;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

.ac-badge-purple {
  background-color: #e9d5ff;
  color: #6b21a8;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

.ac-badge-gray {
  background-color: #f3f4f6;
  color: #4b5563;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

.ac-badge-orange {
  background-color: #fed7aa;
  color: #92400e;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

.ac-badge-red {
  background-color: #fee2e2;
  color: #991b1b;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

.ac-badge-category {
  background-color: var(--bg-tertiary);
  color: var(--text-secondary);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 500;
}

/* Tabs */
.ac-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 2rem;
}

.ac-tab-button {
  padding: 0.75rem 1.5rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-secondary);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.ac-tab-button:hover {
  color: var(--text-primary);
  background-color: var(--bg-tertiary);
}

.ac-tab-button.active {
  color: var(--primary-blue);
  border-bottom-color: var(--primary-blue);
}

/* Filter Buttons */
.ac-filter-button {
  padding: 0.5rem 1rem;
  background-color: var(--bg-tertiary);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.ac-filter-button:hover {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  border-color: var(--border-color-dark);
}

.ac-filter-button.active {
  background-color: var(--primary-blue);
  color: white;
  border-color: var(--primary-blue);
}

/* Info Box */
.ac-info-box {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
}

/* Notifications */
.ac-notification {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  animation: slideIn 0.3s ease-out;
}

.ac-notification-success {
  border-left: 4px solid var(--success-green);
}

.ac-notification-error {
  border-left: 4px solid var(--danger-red);
}

@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Empty State */
.ac-empty-state {
  padding: 3rem;
  text-align: center;
  color: var(--text-secondary);
}

/* Remove decorative elements */
.ac-leaf-pattern {
  display: none;
}

.ac-bell {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .ac-card {
    padding: 1.5rem;
  }
  
  .ac-tabs {
    overflow-x: auto;
  }
  
  .ac-notification {
    left: 1rem;
    right: 1rem;
  }
}
