@font-face {
  font-family: "Helvetica Black Condensed";
  src: url("fonts/Helvetica LT Std Black Condensed.otf") format("opentype");
  font-weight: 900; /* Black weight */
  font-style: normal;
}

@font-face {
  font-family: "Helvetica Bold";
  src: url("fonts/Helvetica LT Std Bold.otf") format("opentype");
  font-weight: 700; /* Bold weight */
  font-style: normal;
}

@font-face {
  font-family: "Helvetica Bold Condensed";
  src: url("fonts/Helvetica LT Std Bold Condensed.otf") format("opentype");
  font-weight: 700; /* Bold weight */
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Helvetica Bold", Arial, sans-serif;
}

.error-message {
    color: red;
    font-size: 0.85em;
    margin-top: 2px;
    display: block;
}


body {
  min-height: 100vh;
  background-color: #f8f8f8;
}

.container {
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  min-height: 100vh;
  background-image: url("images/bg.png");
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Header and Logo */
header {
  display: flex;
  flex-direction: column;
  justify-content: end;
  margin-bottom: 30px;
}

.logo-container {
  display: flex;
  flex-direction: column;
  align-items: end;
}

.logo {
  width: 120px;
  height: auto;
  margin-bottom: 20px;
}

/* Main Content */
main {
  position: relative;
  margin-bottom: 15%;
}

/* Form Header */
.form-header {
  text-align: center;
  margin-bottom: 30px;
}

.form-header h2 {
  font-family: "Helvetica Bold", sans-serif;
  font-size: 18px;
  color: #333;
  margin-bottom: 10px;
}

.scheme-title {
  font-family: "Helvetica Bold Condensed", sans-serif;
  font-size: 50px;
  font-weight: bold;
  color: #dc0a2d;
  line-height: 1;
  margin-bottom: 5px;
}

.scheme-subtitle {
  font-family: "Helvetica Bold Condensed", sans-serif;
  font-size: 38px;
  font-weight: bold;
  color: #dc0a2d;
  line-height: 1;
}

/* Card for login form */
.card {
  width: 100%;
  padding: 20px 0;
}

/* Page subtitle (LOGIN) */
.page-subtitle {
  font-size: 24px;
  margin-bottom: 40px;
  color: #333;
  font-family: "Helvetica Black Condensed", sans-serif;
}

/* Form */
#loginForm {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-group {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 20px;
}

.form-control {
  width: 80%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s;
  background-color: white;
  color: rgba(95, 94, 95, 255);
}

.form-control::placeholder {
  color: rgba(95, 94, 95, 255);
}

.form-control:focus {
  border-color: #dc0a2d;
}

/* Button */
.btn {
  width: 50%;
  text-align: center;
  padding: 12px;
  background-color: #dc0a2d;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-block {
  display: block;
  margin: 15px auto;
}

.btn:hover {
  background-color: #b00824;
}

/* Resend OTP link */
.resend-link {
  color: #333;
  font-size: 14px;
  text-decoration: none;
}

.link {
  color: #666;
  cursor: pointer;
  text-decoration: underline;
}

.link:hover {
  color: #b00824;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

/* .mt-3 {
  margin-top: 15px;
} */

/* Responsive Styles */
@media (max-width: 767px) {
  .container {
    padding: 15px;
  }

  .form-header h2 {
    font-size: 16px;
  }

  .scheme-title {
    font-size: 38px;
  }

  .scheme-subtitle {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 10px;
  }

  .form-header h2 {
    font-size: 14px;
  }

  .scheme-title {
    font-size: 32px;
  }

  .scheme-subtitle {
    font-size: 24px;
  }

  .form-control {
    padding: 10px 12px;
    font-size: 14px;
  }

  .btn {
    padding: 10px;
    font-size: 16px;
  }
}
