:root {
  --brand: #28483b;
  --brand-dark: #1e352c;
  --text: #1a1a1a;
  --muted: #777;
  --error: #e63946;
  --success: #2a9d8f;
  --radius: 12px;
  --font-main: 'Segoe UI', sans-serif;
}

body {

  margin: 0;
  font-family: var(--font-main);
  font-family: 'Anton', sans-serif;
  background-color: var(--brand);
  color: var(--text);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.container {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.logo {
  font-weight: bold;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

h1 {
  font-size: 2rem;
  margin: 0.5rem 0;
  font-weight: 800;
}

p.subtitle {
  font-size: 0.9rem;
  margin-bottom: 2rem;
  color: var(--muted);
}

a {
  color: #e07a5f;
  text-decoration: none;
}

form {
  display: flex;
  flex-direction: column;
  margin-top: 1rem;
}

label {
  font-size: 0.9rem;
  text-align: left;
  color: var(--text);
}

input[type="email"],
input[type="password"],
input[type="text"],
input[type="number"] {
  padding: 0.8rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  width: 100%;
}

button {
  background-color: var(--brand);
  color: white;
  padding: 0.8rem;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

button:hover {
  background-color: var(--brand-dark);
}

.link-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-top: -0.5rem;
}

.code-inputs {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.code-inputs input {
  width: 40px;
  text-align: center;
  font-size: 1.2rem;
}

.success {
  color:#28483b;
}

.digit-group {
  input {
    width: 30px;
    height: 50px;
    background-color: lighten(#0f0f1a, 5%);
    border: none;
    line-height: 50px;
    text-align: center;
    font-size: 24px;
    font-family: 'Raleway', sans-serif;
    font-weight: 200;
    color: white;
    margin: 0 2px;
  }

  .splitter {
    padding: 0 5px;
    color: white;
    font-size: 24px;
  }
}

.prompt {
  margin-bottom: 20px;
  font-size: 20px;
  color: white;
}

.fake-inputs{
  display: flex;
}
.otp-fake-input {
    border: 1.5px solid #28483b;
}
.otp-container, .password-container{
  margin: 0 !important;
}

.title-style{ font-family: 'Archivo Black', sans-serif;
  font-weight: 600;
  transform: scaleX(1.1);
}

.loader {
  border: 5px solid #ffffff; /* Light grey */
  border-top: 5px solid #484545; /* White spinner */
  border-radius: 50%;
  width: 25px;
  height: 25px;
  animation: spin 0.8s linear infinite;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px; /* space before "Sign In" text */
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@supports (-webkit-overflow-scrolling: touch) {
  .otp-container input {
    caret-color: transparent !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: 0 0 0 transparent !important;
    outline: none !important;
    background: transparent !important;
    border: none !important;
  }
}
