/* Roboto Regular (400) */
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

/* Roboto Medium (500) */
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

/* Roboto Bold (700) */
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

/* Roboto Italic (400) */
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
}

/* Roboto Bold Italic (700) */
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
}

* {
  letter-spacing: 0.8px;
}

body.auth-page {
  background-color: #f6f8fa;
  font-family: 'Roboto';
  display: flex;
  justify-content: center;
  padding: 20px;
  min-height: 90vh;
}

.auth-container {
  background: white;
  border: 1px solid #d0d7de;
  padding: 30px;
  width: 100%;
  max-width: 340px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  margin: none;
  margin-top: 3%;
  height: max-content;
}

.auth-icon {
  width: 100%;
  text-align: center;
  align-items: center;
}

.auth-app-title {
  font-size: 25px;
  font-weight: 700;
  text-align: center;
  /* margin-bottom: 10px; */
  color: #006d19;
  align-items: center;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
}

.auth-title {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auth-form label {
  font-weight: 700;
  font-size: 14px;
}

.auth-form input {
  padding: 10px;
  border: 1px solid #d0d7de;
  border-radius: 6px;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
}

.btn-primary {
  background-color: #2da44e;
  color: white;
  padding: 10px;
  font-size: 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
}

.btn-primary:hover {
  background-color: #218739;
}

.forgot-link {
  float: right;
  font-size: 12px;
  text-decoration: none;
  color: #0969da;
}

.forgot-link:hover {
  text-decoration: underline;
}

.register-link {
  text-align: center;
  font-size: 13px;
  margin-top: 15px;
}

.error-box {
  background-color: #ffe0e0;
  color: #b10000;
  text-align: center;
  padding: 0px 5px;
  border: 1px solid #ffaaaa;
  border-radius: 5px;
  margin-bottom: 15px;
  font-size: 13px;
}

/* Mobile enhancements */
@media (max-width: 480px) {
  .auth-container {
    padding: 20px;
  }

  .auth-form label {
    font-size: 13px;
  }

  .auth-app-title {
    font-size: 20px;
  }

  .auth-title {
    font-size: 18px;
  }

  .btn-primary {
    font-size: 13px;
  }

  .register-link {
    font-size: 12px;
  }
}