:root {
  --nab-red: #da1710;
  --nab-black: #1a1a1a;
  --nab-dark-grey: #333333;
  --nab-light-grey: #f4f4f4;
  --nab-border-grey: #8d8d8d;
  --white: #ffffff;
  --text-color: #333;
  --error-bg: #fde8e8;
  --error-text: #d32f2f;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  background-color: #f2f2f2;
  background-image: url('background.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.header {
  background-color: #000;
  color: white;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  height: 60px;
}

.menu-icon {
  border: 1px solid #555;
  padding: 5px 8px;
  border-radius: 4px;
  margin-right: 15px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 32px;
  width: 36px;
}

.menu-bar {
  height: 2px;
  background-color: white;
  width: 100%;
  margin: 2px 0;
}

.logo-star {
  color: var(--nab-red);
  font-size: 24px;
  margin-right: 10px;
  /* Simple star shape using CSS or text */
  font-weight: bold;
}

.header-title {
  font-size: 18px;
  font-weight: 600;
}

/* Main Container */
.container {
  flex: 1;
  display: flex;
  justify-content: center;
  padding-top: 20px;
  padding-bottom: 20px;
}

.card {
  background-color: white;
  width: 100%;
  max-width: 440px;
  padding: 30px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.hidden {
  display: none !important;
}

/* Typography */
h1 {
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 30px;
  color: var(--nab-black);
  text-align: center;
}

h2 {
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 20px;
  color: var(--nab-dark-grey);
}

p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-color);
  margin-bottom: 15px;
}

.small-text {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
  display: block;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--nab-black);
}

input[type="text"],
input[type="password"],
input[type="number"] {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--nab-border-grey);
  border-radius: 4px;
  font-size: 16px;
  outline: none;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="number"]:focus {
  border-color: var(--nab-black);
}

.checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.checkbox-group input {
  margin-right: 10px;
  width: 20px;
  height: 20px;
}

/* Buttons */
.btn {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-primary {
  background-color: var(--nab-red);
  color: white;
}

.btn-primary:hover {
  background-color: #b0120c;
}

.btn-secondary {
  background-color: white;
  color: var(--nab-red);
  border: 1px solid var(--nab-border-grey);
  margin-top: 10px;
}

/* Links */
.link {
  color: var(--nab-red);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  display: inline-block;
  margin-top: 15px;
}

.link:hover {
  text-decoration: underline;
}

/* Error Message */
.error-banner {
  background-color: var(--error-bg);
  color: var(--text-color);
  padding: 15px;
  border-left: 4px solid var(--error-text);
  margin-bottom: 20px;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.error-icon {
  color: var(--error-text);
  margin-right: 10px;
  font-weight: bold;
}

/* Footer in card */
.card-footer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.register-link {
  color: var(--nab-red);
  font-weight: 700;
  text-decoration: none;
}

/* OTP Specifics */
.otp-header-icon {
  color: var(--nab-red);
  font-size: 40px;
  margin-bottom: 20px;
}

.otp-input-container {
  margin: 20px 0;
}

.otp-input {
  letter-spacing: 5px;
  font-size: 20px !important;
  text-align: center;
}

/* Responsive */
@media (max-width: 480px) {
  .card {
    box-shadow: none;
    padding: 20px;
  }
  
  .container {
    padding-top: 0;
    background-color: white;
  }
  
  body {
    background-color: white;
  }
}
