:root {
      --primary-color: #0a6e46;
      --primary-dark: #085538;
      --primary-light: #e8f5f0;
      --secondary-color: #e6a817;
      --secondary-light: #fff8e6;
      --danger-color: #dc3545;
      --text-color: #333;
      --light-color: #f8f9fa;
      --border-radius: 12px;
      --box-shadow: 0 8px 30px rgba(0,0,0,0.08);
      --transition: all 0.3s ease;
    }
    
    /* Header styles with logo */
    .form-header {
      position: relative;
      margin-bottom: 5px;
       background-color: #fcf8f0;       
    }
    
    .header-flex {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 15px;
    }
    
    .form-title {
      color: var(--primary-color);
      font-weight: 700;
      font-size: 2.2rem;
      margin: 0;
    }
    
    .logo-link {
      display: block;
      width: 100px;
      height: 100px;
      transition: var(--transition);
    }
    
    .logo-link:hover {
      transform: scale(1.05);
    }
    
    .logo {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
    
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    
    body {
      background-color: #fcf8f0;
      font-family: 'Tajawal', sans-serif;
      margin: 0;
      padding: 20px;
      color: var(--text-color);
      line-height: 1.6;
      min-height: 100vh;
      display: flex;
      justify-content: center;
      align-items: center;
      background: linear-gradient(135deg, rgba(10, 110, 70, 0.1) 0%, rgba(230, 168, 23, 0.1) 100%);
    }
    
    .form-container {
      width: 100%;
      max-width: 760px;
      margin: 20px auto;
      background-color: #fff;
      border-radius: var(--border-radius);
      padding: 40px;
      box-shadow: var(--box-shadow);
      position: relative;
      overflow: hidden;
    }
    
    .form-container::before {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      width: 100%;
      height: 8px;
      background: linear-gradient(to left, var(--primary-color), var(--secondary-color));
    }
    
    .form-header {
      text-align: center;
      margin-bottom: 30px;
      position: relative;
    }
    
    .form-title {
      color: var(--primary-color);
      font-weight: 700;
      font-size: 2.2rem;
      margin: 0;
    }
    
    .form-subtitle {
      color: var(--text-color);
      font-size: 1rem;
      opacity: 0.7;
      text-align: center;
    }
    
    .form-group {
      margin-bottom: 20px;
      position: relative;
    }
    
    label {
      display: block;
      margin-bottom: 8px;
      font-weight: 500;
      color: var(--text-color);
      font-size: 1.05rem;
      transition: var(--transition);
    }
    
    .required {
      color: var(--danger-color);
      font-size: 14px;
      margin-right: 4px;
    }
    
    .form-control, .form-select {
      width: 100%;
      padding: 12px 16px;
      border: 1px solid #ddd;
      border-radius: 8px;
      font-family: 'Tajawal', sans-serif;
      font-size: 1rem;
      transition: var(--transition);
      background-color: #fff;
    }
    
    .form-control:focus, .form-select:focus {
      outline: none;
      border-color: var(--primary-color);
      box-shadow: 0 0 0 4px rgba(10, 110, 70, 0.1);
    }
    
    .input-with-icon {
      position: relative;
    }
    
    .input-icon {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      right: 12px;
      color: #aaa;
      transition: var(--transition);
    }
    
    .input-with-icon .form-control,
    .input-with-icon .form-select {
      padding-right: 40px;
    }
    
    .input-with-icon .form-control:focus + .input-icon,
    .input-with-icon .form-select:focus + .input-icon {
      color: var(--primary-color);
    }
    
    .form-buttons {
      display: flex;
      gap: 12px;
      margin-top: 30px;
    }
    
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 12px 24px;
      border: none;
      border-radius: 8px;
      font-weight: 600;
      font-size: 1rem;
      cursor: pointer;
      transition: var(--transition);
      font-family: 'Tajawal', sans-serif;
      gap: 8px;
    }
    
    .btn-success {
      background-color: var(--primary-color);
      color: white;
    }
    
    .btn-success:hover:not(:disabled) {
      background-color: var(--primary-dark);
      transform: translateY(-2px);
      box-shadow: 0 4px 8px rgba(10, 110, 70, 0.2);
    }
    
    .btn-success:active:not(:disabled) {
      transform: translateY(0);
    }
    
    .btn-success:disabled {
      background-color: var(--primary-color);
      opacity: 0.6;
      cursor: not-allowed;
    }
    
    .btn-secondary {
      background-color: #f8f9fa;
      color: #6c757d;
      border: 1px solid #ddd;
    }
    
    .btn-secondary:hover {
      background-color: #e9ecef;
      color: #495057;
      border-color: #ced4da;
    }
    
    .btn-icon {
      margin-left: 8px;
      font-size: 14px;
    }
    
    #countdown {
      margin-top: 16px;
      color: var(--secondary-color);
      font-weight: 600;
      font-size: 0.9rem;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 8px 16px;
      background-color: var(--secondary-light);
      border-radius: 6px;
      transition: opacity 0.5s ease;
    }
    
    #timer {
      display: inline-block;
      width: 26px;
      height: 26px;
      line-height: 26px;
      text-align: center;
      background-color: var(--secondary-color);
      color: white;
      border-radius: 50%;
      font-size: 0.85rem;
    }
    
    .alert {
      padding: 15px;
      margin-bottom: 25px;
      border-radius: 8px;
      position: relative;
      border: none;
    }
    
    .alert-success {
      background-color: #e8f5f0;
      color: var(--primary-color);
      border-right: 4px solid var(--primary-color);
    }
    
    .alert-danger {
      background-color: #f8d7da;
      color: #721c24;
      border-right: 4px solid #dc3545;
    }
    
    .alert-warning {
      background-color: #fff8e6;
      color: #856404;
      border-right: 4px solid var(--secondary-color);
    }
    
    /* Responsive styles */
    @media (max-width: 768px) {
      .form-container {
        padding: 30px 20px;
      }
      
      .form-buttons {
        flex-direction: column;
      }
      
      .btn {
        width: 100%;
      }
      
      .header-flex {
        flex-direction: column-reverse;
        gap: 15px;
      }
      
      .form-title {
        font-size: 1.8rem;
        text-align: center;
      }
    }
    
    /* Animation */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }
    
    .form-container {
      animation: fadeIn 0.5s ease-out;
    }
    
    .alert {
      animation: fadeIn 0.3s ease-out;
    }
    
    /* Focus styles for accessibility */
    *:focus-visible {
      outline: 3px solid rgba(10, 110, 70, 0.5);
      outline-offset: 2px;
    }