/* Approvals Page Styles */
.approvals-page {
  max-width: 1200px;
}

.approvals-page .page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.approvals-page .page-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #ffd700;
  margin: 0 0 8px 0;
}

.approvals-page .page-description {
  color: #64748b;
  font-size: 1rem;
  margin: 0;
}

.approvals-page .btn-secondary {
  background: white;
  color: #667eea;
  border: 1px solid #667eea;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.approvals-page .btn-secondary:hover {
  background: rgba(102, 126, 234, 0.05);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
  transform: translateY(-2px);
  text-decoration: none;
}

/* Approvals List */
.approvals-list {
  display: grid;
  gap: 16px;
}

.approval-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.approval-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.approval-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.approval-type-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 2px 6px rgba(102, 126, 234, 0.2);
}

.platform-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  background: #f1f5f9;
  color: #64748b;
}

.approval-card .status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
  margin-left: auto;
}

.approval-card .status-badge.status-pending {
  background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
  color: #2d3436;
}

.approval-card .status-badge.status-approved {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  color: white;
}

.approval-card .status-badge.status-rejected {
  background: linear-gradient(135deg, #ff7675 0%, #d63031 100%);
  color: white;
}

.approval-content {
  font-size: 0.9375rem;
  color: #1a1a2e;
  line-height: 1.6;
  margin-bottom: 16px;
  padding: 16px;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 3px solid #667eea;
}

.approval-meta {
  font-size: 0.8125rem;
  color: #94a3b8;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.approval-meta::before {
  content: '👤';
  font-size: 1rem;
}

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

.approval-actions .btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
  transition: all 0.2s ease;
  font-size: 0.875rem;
}

.approval-actions .btn-primary:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.5);
  transform: translateY(-1px);
  text-decoration: none;
}

.approval-actions .btn-link {
  background: transparent;
  color: #667eea;
  border: 1px solid #667eea;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
  font-size: 0.875rem;
}

.approval-actions .btn-link:hover {
  background: rgba(102, 126, 234, 0.05);
  border-color: #764ba2;
  text-decoration: none;
}

/* Empty state */
.approvals-list .empty-state {
  background: white;
  border: 2px dashed #e2e8f0;
  border-radius: 12px;
  padding: 64px 32px;
  text-align: center;
  color: #64748b;
}

.empty-state p {
  font-size: 1.25rem;
  margin: 0 0 8px 0;
  color: #1a1a2e;
  font-weight: 600;
}

.empty-help {
  font-size: 1rem;
  color: #94a3b8;
  margin: 0;
}

/* Approval History Page */
.approval-history-page {
  max-width: 1200px;
}

.approval-history-page .page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.approval-history-page .page-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #ffd700;
  margin: 0 0 8px 0;
}

.approval-history-page .page-description {
  color: #64748b;
  font-size: 1rem;
  margin: 0;
}

.approval-history-page .btn-secondary {
  background: white;
  color: #667eea;
  border: 1px solid #667eea;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.approval-history-page .btn-secondary:hover {
  background: rgba(102, 126, 234, 0.05);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
  transform: translateY(-2px);
  text-decoration: none;
}

/* History List */
.history-list {
  display: grid;
  gap: 16px;
}

.history-item {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px 24px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.history-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.history-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.history-item:hover::before {
  opacity: 1;
}

.history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 12px;
}

.history-type {
  font-size: 0.875rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.history-item .status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
}

.history-item .status-badge.status-approved {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  color: white;
}

.history-item .status-badge.status-rejected {
  background: linear-gradient(135deg, #ff7675 0%, #d63031 100%);
  color: white;
}

.history-content {
  font-size: 0.9375rem;
  color: #1a1a2e;
  line-height: 1.6;
  margin-bottom: 12px;
}

.history-meta {
  font-size: 0.8125rem;
  color: #94a3b8;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

.history-meta::before {
  content: '📋';
  font-size: 1rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .approvals-page .page-header,
  .approval-history-page .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .approvals-page .page-header h1,
  .approval-history-page .page-header h1 {
    font-size: 1.75rem;
  }

  .approval-card {
    padding: 20px;
  }

  .approval-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .approval-card .status-badge {
    margin-left: 0;
  }

  .approval-content {
    font-size: 0.875rem;
    padding: 12px;
  }

  .approval-actions {
    flex-direction: column;
  }

  .approval-actions .btn-primary,
  .approval-actions .btn-link {
    width: 100%;
    text-align: center;
  }

  .history-item {
    padding: 16px;
  }

  .history-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .history-content {
    font-size: 0.875rem;
  }

  .history-meta {
    font-size: 0.75rem;
    flex-direction: column;
    align-items: flex-start;
  }
}

