<style>
  * {
    box-sizing: border-box;
  }

  body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
  }

  .login-box {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
  }

  .login-box img {
    width: 50%;
    margin-bottom: 25px;
  }

  .login-box h2 {
    color: #333333;
    margin-bottom: 25px;
    font-weight: 600;
    font-size: 22px;
  }

  .login-box input {
    width: 90%;
    padding: 12px 15px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s;
  }

  .login-box input:focus {
    outline: none;
    border-color: #0072ce;
    
  }

  .login-box button {
    background-color: #004b8d;
    color: #fff;
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s ease;
  }

  .login-box button:hover {
    background-color: #003366;
  }

  .error-message {
    color: #cc0000;
    font-size: 14px;
    margin-top: 12px;
  }


.register-box {
      background: #ffffff;
      padding: 40px;
      border-radius: 10px;
      box-shadow: 0px 0px 15px rgba(0,0,0,0.1);
      text-align: center;
      width: 350px;
    }

    .register-box img {
      width: 100px;
      margin-bottom: 20px;
    }

    .register-box h2 {
      margin-bottom: 20px;
      color: #333;
    }

    .register-box input, .register-box select {
      width: 90%;
      padding: 12px;
      margin: 10px 0;
      border: 1px solid #ccc;
      border-radius: 6px;
      font-size: 16px;
    }

    .register-box button {
      background-color: #0077cc;
      color: white;
      border: none;
      padding: 12px;
      width: 100%;
      border-radius: 6px;
      font-size: 16px;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    .register-box button:hover {
      background-color: #005fa3;
    }

    .message {
      margin-top: 15px;
      font-weight: bold;
    }

    .success { color: green; }
    .error { color: red; }


   .dashboard {
      background: #ffffff;
      padding: 40px;
      border-radius: 12px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
      text-align: center;
      width: 100%;
      max-width: 400px;
    }

    .dashboard h1 {
      color: #004b8d;
      margin-bottom: 20px;
      font-size: 24px;
    }

    .dashboard p {
      color: #555;
      margin-bottom: 30px;
      font-size: 16px;
    }

    .dashboard a {
      display: inline-block;
      background-color: #004b8d;
      color: #fff;
      text-decoration: none;
      padding: 12px 25px;
      border-radius: 8px;
      font-weight: bold;
      transition: background-color 0.3s ease;
    }

    .dashboard a:hover {
      background-color: #003366;
    }

  .copy {
    margin-top: 40px;
    font-size: 14px;
    color: #888;
    text-align: center;
  }


  @media (max-width: 400px) {
    .login-box {
      padding: 30px 20px;
    }

    .login-box h2 {
      font-size: 20px;
    }
  }
</style>
