/* style.css */

/* Reset & simple styling */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
  }
  
  body {
    background-color: #f2f2f2;
    color: #333;
  }
  
  header {
    background: linear-gradient(to right, #2c3e50, #bdc3c7); /* rooksdm-inspired gradient */
    padding: 1rem;
    display: flex;
    justify-content: center;
  }
  /* center class */

  .branding {
    display: flex;
    gap: 1rem;
  }
  
  .logo {
    max-height: 40px;
  }
  
  /* Main content area */
  main {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2rem auto;
  }
  
  .form-container {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    width: 320px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  .form-container h1 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: #b9262f; /* Redtail-like red */
  }
  
  .input-row {
    margin-bottom: 1rem;
  }
  
  .input-row label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.25rem;
  }
  
  .input-row input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  button[type="submit"] {
    width: 100%;
    background-color: #b9262f; /* Redtail red */
    color: #fff;
    padding: 0.75rem;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  button[type="submit"]:hover {
    background-color: #9c2028;
  }
/* When the button is disabled */
button[type="submit"]:disabled,
button[type="submit"][disabled] {
  background-color: #ccc;    /* Gray shade */
  color: #666;               /* Slightly darker text for contrast */
  cursor: not-allowed;       /* Visual cue for disabled state */
}
  /* Loading Spinner */
.loader {
  display: none; /* hidden by default */
  margin: 1rem auto; /* center it horizontally in container */
  border: 8px solid #f3f3f3; /* Light gray background */
  border-top: 8px solid #b9262f; /* Redtail-like red for top border */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

/* Spinner Animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
  
  /* Footer */
  footer {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    background-color: #fafafa;
  }
  