* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background-color: #f8f9f5;          /* licht naturel / off-white */
      color: #313131;
      line-height: 1.6;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }

    .login {
      background: white;
      width: 100%;
      max-width: 420px;
      padding: 40px 30px;
      border-radius: 16px;
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
      border: 1px solid #e8ede6;
    }

    h1 {
      text-align: center;
      color: crimson;                    /* diepgroen – natuurlijk, vers gevoel */
      margin-bottom: 32px;
      font-size: 2.1rem;
      font-weight: 600;
    }

    .form-label {
      display: block;
      margin-bottom: 8px;
      font-weight: 500;
      color: #313131;
      font-size: 1.05rem;
    }

    .form-group {
      margin-bottom: 24px;
    }

    .form-input {
      width: 100%;
      padding: 14px 16px;
      border: 1px solid #c3d1c4;         /* zacht groenig grijs */
      border-radius: 10px;
      font-size: 1.05rem;
      background: #fdfefd;
      transition: all 0.2s ease;
    }

    .form-input:focus {
      outline: none;
      border-color: crimson;             /* fris groen accent */
      box-shadow: 0 0 0 3px rgba(74, 140, 78, 0.15);
    }

    .form-input::placeholder {
      color: #313131;
    }

    .btn {
      display: block;
      width: 100%;
      padding: 14px;
      margin: 12px 0;
      font-size: 1.1rem;
      font-weight: 600;
      border: none;
      border-radius: 10px;
      cursor: pointer;
      transition: all 0.25s ease;
      text-decoration: none;
      text-align: center;
    }

    .btn {
      background: crimson;              /* fris blauw – vertrouwen & energie (MEES-achtig) */
      color: #313131;
    }

    .btn:hover {
      background: crimson;
      transform: translateY(-2px);
      box-shadow: 0 6px 16px rgba(58, 124, 165, 0.25);
    }

    .btn.back a {
      color: #313131;
    }

    .btn.back:hover {
      background: crimson;
      transform: translateY(-2px);
      box-shadow: 0 6px 16px rgba(58, 124, 165, 0.25);
    }

    #register {
      text-align: center;
      margin: 20px 0 12px;
      color: #313131;
      font-size: 0.98rem;
    }

    #register a {
      background: crimson;
      font-weight: 600;
      text-decoration: none;
    }

    #register a:hover {
      text-decoration: underline;
    }

    .headerlogo {
    flex: 1;
    display: flex;
    justify-content: center;
    }

    .headerlogo img {
    height: 80px;
    }
    
    .error-message {
    color: #dc3545;
    font-size: 14px;
    margin: 10px 0;
    padding: 10px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    text-align: center;
    }

    /* Kleine aanpassing voor mobiel */
    @media (max-width: 480px) {
      .login {
        padding: 30px 20px;
      }
      h1 {
        font-size: 1.9rem;
      }
    }