:root {
    /* Color Scheme */
    --primary-green: #1b9e3e;    
    --light-green: #d5efd8;     
    --dark-green: #0a5c1f;       
    --accent-gold: #d4af37;
    --white: #ffffff;
    --light-gray: #f7fafc;
    --dark-gray: #1f2a44;
    --shadow-green: rgba(27, 158, 62, 0.2);
    --error-red: #e74c3c;
  }
  
  /* Base Styles */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  }
  
  body {
    background-color: var(--light-green);
    color: var(--dark-gray);
    line-height: 1.6;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background-image: 
      radial-gradient(
        circle at 20% 40%,
        rgba(27, 158, 62, 0.15) 0%,
        transparent 25%
      ),
      radial-gradient(
        circle at 80% 60%,
        rgba(27, 158, 62, 0.15) 0%,
        transparent 25%
      ),
      linear-gradient(
        to bottom right,
        var(--light-green),
        var(--primary-green)
      );
    position: relative;
    overflow-y: auto;
  }
  
  .container {
    width: 100%;
    max-width: 450px;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--shadow-green);
    position: relative;
    z-index: 1;
    margin: 32px auto;
  }
  
  .logo-container {
    text-align: center;
    margin-bottom: 30px;
  }
  
  .logo {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  }
  
  /* Headings */
  h1 {
    text-align: center;
    color: var(--primary-green);
    margin-bottom: 30px;
    font-size: 26px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  }
  
  /* Feedback Messages */
  ul.messages {
    list-style: none;
    padding: 0;
    margin-bottom: 16px;
  }
  
  ul.messages li {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
  }
  
  /* Form Elements */
  form {
    display: flex;
    flex-direction: column;
    gap: 20px; 
  }
  
  label {
    font-weight: 600;
    color: var(--dark-green);
    font-size: 15px;
    margin-bottom: 6px; 
  }
  
  input, select {
    padding: 14px 16px; 
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    background-color: rgba(255, 255, 255, 0.9);
    transition: all 0.2s ease;
    width: 100%;
  }
  
  input:focus, select:focus {
    border-color: var(--primary-green);
    outline: none;
    box-shadow: 0 0 0 3px var(--shadow-green);
    background-color: var(--white);
  }
  
  /* Fieldset Styling */
  fieldset {
    border: 1px solid rgba(27, 158, 62, 0.2);
    border-radius: 8px;
    padding: 12px;
    margin: 12px 0;
    background: rgba(27, 158, 62, 0.02);
  }
  
  legend {
    font-weight: 600;
    color: var(--dark-green);
    padding: 0 6px;
    font-size: 14px;
  }
  
  /* Checkbox */
  label input[type="checkbox"] {
    accent-color: var(--primary-green);
    width: 16px;
    height: 16px;
    margin-right: 8px;
  }
  
  /* Button */
  button {
    background: linear-gradient(135deg, var(--primary-green) 0%, #15803d 100%);
    color: var(--white);
    border: none;
    padding: 14px; 
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  button:hover {
    background: linear-gradient(135deg, var(--dark-green) 0%, #14532d 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  
  /* Decorative Elements */
  .decor-leaf {
    position: absolute;
    width: 120px;
    height: 120px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%231b9e3e" d="M50 0c-10 20-20 30-30 40 10 10 20 20 30 30 10-10 20-20 30-30-10-10-20-20-30-40z" opacity="0.15"/></svg>');
    background-repeat: no-repeat;
    z-index: 0;
  }
  
  .decor-leaf.top-left {
    top: 10%;
    left: 10%;
    transform: rotate(-20deg);
  }
  
  .decor-leaf.bottom-right {
    bottom: 10%;
    right: 10%;
    transform: rotate(100deg);
  }
  
  .container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-gold));
  }
  
  /* Login Link */
  .login-redirect {
    text-align: center;
    margin-top: 20px;
    color: var(--dark-gray);
    font-size: 15px;
  }
  
  .login-redirect a {
    color: var(--primary-green);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
  }
  
  .login-redirect a:hover {
    color: var(--dark-green);
    text-decoration: underline;
  }
  
  /* Responsive Design */
  @media (max-width: 480px) {
    .container {
      padding: 30px 20px;
    }
    
    h1 {
      font-size: 22px;
    }
    
    .decor-leaf {
      width: 80px;
      height: 80px;
    }
  }
  
  @media (max-width: 768px) {
    body {
      padding: 16px;
    }
  }