:root {
    --primary-color: #4361ee;
    --primary-light: #e0e7ff;
    --secondary-color: #3a0ca3;
    --accent-color: #f72585;
    --success-color: #4cc9f0;
    --warning-color: #f8961e;
    --danger-color: #f72585;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gray-500: #6c757d;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --box-shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --box-shadow-md: 0 8px 15px rgba(0, 0, 0, 0.1);
    --box-shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  }
  
  /* Base Styles */
  body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f5f7ff;
    color: var(--dark-color);
    line-height: 1.6;
    padding: 0;
    margin: 0;
    min-height: 100vh;
  }
  
  /* Container */
  .container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-sm);
    position: relative;
  }
  
  /* Header */
  h2 {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    font-size: 2rem;
  }
  
  h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
  }
  
  h3 {
    color: var(--secondary-color);
    font-weight: 600;
    margin: 2rem 0 1.5rem;
    font-size: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-light);
  }
  
  /* Forms */
  .form-group {
    margin-bottom: 1.5rem;
  }
  
  .form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius-md);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background-color: white;
  }
  
  .form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(247, 37, 133, 0.2);
  }
  
  .form-text {
    font-size: 0.875rem;
    color: var(--gray-500);
  }
  
  label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
  }
  
  select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236c757d' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
    padding-right: 2.5rem;
  }
  
  /* Buttons */
  .btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-md);
    font-weight: 500;
    transition: var(--transition);
    border: none;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
  }
  
  .btn-primary {
    background-color: var(--primary-color);
    color: white;
  }
  
  .btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-md);
  }
  
  .btn-secondary {
    background-color: var(--gray-500);
    color: white;
  }
  
  .btn-secondary:hover {
    background-color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-md);
  }
  
  /* Alerts */
  .alert {
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-md);
    margin-bottom: 2rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
  }
  
  .alert::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
  }
  
  .alert-success {
    background-color: rgba(76, 201, 240, 0.1);
    color: #0a9396;
  }
  
  .alert-success::before {
    background-color: var(--success-color);
  }
  
  .alert-danger {
    background-color: rgba(247, 37, 133, 0.1);
    color: var(--danger-color);
  }
  
  .alert-danger::before {
    background-color: var(--danger-color);
  }
  
  .alert-warning {
    background-color: rgba(248, 150, 30, 0.1);
    color: var(--warning-color);
  }
  
  .alert-warning::before {
    background-color: var(--warning-color);
  }
  
  .alert h4 {
    margin-top: 0;
    color: inherit;
  }
  
  .alert ul {
    margin-bottom: 0;
    padding-left: 1.5rem;
  }
  
  /* File Input */
  input[type="file"] {
    padding: 0.5rem;
  }
  
  /* Link in Form Text */
  .form-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
  }
  
  .form-text a:hover {
    text-decoration: underline;
  }
  
  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .container {
      padding: 1.5rem;
      margin: 1rem;
    }
    
    h2 {
      font-size: 1.75rem;
    }
    
    h3 {
      font-size: 1.25rem;
    }
    
    .btn {
      width: 100%;
      margin-bottom: 0.75rem;
    }
  }
  
  /* Animations */
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  .container {
    animation: fadeIn 0.4s ease-out;
  }
  
  /* Custom Scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }
  
  ::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
  }
  
  ::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
  }