@font-face {
  font-family: "ir";
  src: url("../ir/ir.ttf") format("truetype");
  font-display: swap;
}
* {
  font-family: "ir", sans-serif;
}

body {
  background: rgb(129, 143, 180);
  background: linear-gradient(
    230deg,
    rgba(129, 143, 180, 1) 0%,
    rgba(245, 232, 199, 1) 100%
  );
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.login-box {
  width: 400px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
form {
  width: 90%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

h1 {
  text-align: center;
  color: #435585;
  margin-bottom: 30px;
}

label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
  color: #555;
  font-size: 20px;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 10px;
  border: none;
  border-bottom: 2px solid #435585;
  border-radius: 0;
  margin-bottom: 20px;
  transition: border-color 0.3s ease;
  font-size: 18px;
  text-align: center;
}

input[type="text"]:focus,
input[type="password"]:focus {
  outline: none;
  border-color: rgb(30, 82, 88);
}

input[type="submit"] {
  align-self: center;
  background-color: #435585;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 22px;
}

input[type="submit"]:hover {
  background-color: #286090;
}

.error-message {
  color: red;
  font-weight: bold;
  margin-top: 10px;
  text-align: center;
}
