/* Modern Dashboard CSS */
:root {
    --primary: #6c5ce7;
    --primary-dark: #5649c0;
    --secondary: #00b894;
    --danger: #ff7675;
    --warning: #fdcb6e;
    --dark: #2d3436;
    --light: #f5f6fa;
    --text-dark: #2d3436;
    --text-medium: #636e72;
    --text-light: #b2bec3;
    --border-color: #dfe6e9;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  }
  
  /* Dashboard Section */
  .dashboard-section {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
  }
  
  .dashboard-box {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: var(--transition);
  }
  
  .dashboard-box:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
  }
  
  /* Welcome Header */
  .dashboard-box h2 {
    font-size: 2rem;
    color: var(--primary);
    padding: 1.5rem 2rem 0;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
  }
  
  .dashboard-box h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 2rem;
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
  }
  
  /* Messages */
  .dashboard-box p[style*="color: green"] {
    background: rgba(0, 184, 148, 0.1);
    color: var(--secondary);
    padding: 1rem;
    margin: 0 2rem 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary);
  }
  
  .dashboard-box p[style*="color: red"] {
    background: rgba(255, 118, 117, 0.1);
    color: var(--danger);
    padding: 1rem;
    margin: 0 2rem 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--danger);
  }
  
  /* Tabs Navigation */
  .tab {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    padding: 0 2rem;
    margin-bottom: 0;
  }
  
  .tab button {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-medium);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
  }
  
  .tab button:hover {
    color: var(--primary);
  }
  
  .tab button.active {
    color: var(--primary);
  }
  
  .tab button.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px 3px 0 0;
  }
  
  /* Tab Content */
  .tab-content {
    display: none;
    padding: 2rem;
    animation: fadeIn 0.4s ease;
  }
  
  .tab-content.active {
    display: block;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* User Details */
  .tab-content h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
  }
  
  .tab-content p {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.6;
  }
  
  .tab-content p strong {
    color: var(--text-medium);
    font-weight: 600;
    min-width: 150px;
    display: inline-block;
  }
  
  /* Forms */
  .form-group {
    margin-bottom: 1.5rem;
  }
  
  .form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-medium);
    margin-bottom: 0.5rem;
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition);
  }
  
  .form-group input:focus,
  .form-group textarea:focus,
  .form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
    outline: none;
  }
  
  .form-group textarea {
    min-height: 120px;
    resize: vertical;
  }
  
  /* Buttons */
  .cta-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
  }
  
  .cta-btn[style*="background-color: red"] {
    background: linear-gradient(135deg, var(--danger), #e84393);
  }
  
  .cta-btn[style*="background-color: red"]:hover {
    box-shadow: 0 5px 15px rgba(255, 118, 117, 0.3);
  }
  
  /* Tables */
  table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1.5rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
  }
  
  table th {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
  }
  
  table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
  }
  
  table tr:last-child td {
    border-bottom: none;
  }
  
  table tr:hover td {
    background: rgba(108, 92, 231, 0.03);
  }
  
  /* Status Badges */
  .status-pending {
    background: #fff3cd;
    color: #856404;
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
  }
  
  .status-resolved {
    background: #d4edda;
    color: #155724;
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
  }
  
  .status-processing {
    background: #cce5ff;
    color: #004085;
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
  }
  
  /* Quick Links */
  .quick-links {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .tab {
      flex-wrap: wrap;
    }
    
    .tab button {
      flex: 1 1 auto;
      padding: 0.8rem;
      font-size: 0.85rem;
    }
    
    table {
      display: block;
      overflow-x: auto;
    }
    
    .dashboard-box h2 {
      font-size: 1.5rem;
      padding: 1rem 1rem 0;
    }
    
    .tab-content {
      padding: 1rem;
    }
  }
  
  @media (max-width: 480px) {
    .dashboard-box h2::after {
      left: 1rem;
    }
    
    .tab button {
      flex: 1 1 100%;
      margin-bottom: 0.5rem;
    }
    
    .form-group input,
    .form-group textarea {
      font-size: 0.9rem;
    }
    
    .cta-btn {
      width: 100%;
      justify-content: center;
    }
  }