/* Executive Admin Dashboard Styles */
:root {
  --executive-primary: #2c3e50;
  --executive-secondary: #34495e;
  --executive-accent: #3498db;
  --executive-danger: #e74c3c;
  --executive-success: #2ecc71;
  --executive-light: #ecf0f1;
  --executive-dark: #2c3e50;
  --executive-border: 1px solid #dfe6e9;
}

.executive-admin {
  max-width: 1400px;
  margin: 2.5rem auto;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 3rem;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

.executive-header {
  text-align: center;
  margin-bottom: 3rem;
  border-bottom: var(--executive-border);
  padding-bottom: 2rem;
}

.executive-header h1 {
  color: var(--executive-primary);
  font-weight: 300;
  font-size: 2.5rem;
  letter-spacing: -0.5px;
  margin-bottom: 0.5rem;
}

.executive-header p {
  color: #7f8c8d;
  font-size: 1.1rem;
}

.executive-nav {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
  gap: 1.5rem;
}

.executive-nav button {
  padding: 0.9rem 2.5rem;
  border: none;
  background: var(--executive-light);
  color: var(--executive-secondary);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-radius: 8px;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.executive-nav button:hover {
  background: #dfe6e9;
  transform: translateY(-2px);
}

.executive-nav button.active {
  background: var(--executive-accent);
  color: white;
  box-shadow: 0 4px 6px rgba(52, 152, 219, 0.3);
}

.executive-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.metric-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: var(--executive-border);
}

.metric-card h3 {
  color: #7f8c8d;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.metric-card p {
  color: var(--executive-dark);
  font-size: 1.8rem;
  font-weight: 300;
  margin: 0;
}

.metric-card .revenue {
  color: var(--executive-success);
}

.executive-data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 2rem 0;
}

.executive-data-table thead th {
  background: var(--executive-primary);
  color: white;
  padding: 1.2rem 1.5rem;
  text-align: left;
  font-weight: 400;
  position: sticky;
  top: 0;
}

.executive-data-table tbody td {
  padding: 1.2rem 1.5rem;
  border-bottom: var(--executive-border);
  color: var(--executive-secondary);
}

.executive-data-table tbody tr:last-child td {
  border-bottom: none;
}

.executive-data-table tbody tr:hover {
  background: #f8f9fa;
}

.executive-actions .action-btn {
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.executive-actions .delete-btn {
  background: var(--executive-danger);
  color: white;
}

.executive-actions .delete-btn:hover {
  background: #c0392b;
  transform: translateY(-1px);
}

.executive-status {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.status-pending {
  background: #fff3cd;
  color: #856404;
}

.status-completed {
  background: #d4edda;
  color: #155724;
}

.executive-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
}

.executive-error {
  background: #f8d7da;
  color: #721c24;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .executive-admin {
    padding: 2rem;
    margin: 1.5rem;
  }
}

@media (max-width: 768px) {
  .executive-nav {
    flex-direction: column;
    gap: 0.8rem;
  }
  
  .executive-metrics {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .executive-metrics {
    grid-template-columns: 1fr;
  }
  
  .executive-data-table {
    display: block;
    overflow-x: auto;
  }
}