.container {
    display: flex;
    width: 80%;
  }
  .login,
  .create {
    padding: 40px;
    width: 50%;
  }
  .auth-section {
    display: flex;
    justify-content: center;
  }
  .login {
    border-right: 1px solid #ccc;
  }
  .login,
  .create {
    padding: 40px;
    width: 50%;
  }
  main {
    margin-bottom: 10vh;
  }
  h2 a {
    color: black;
    text-decoration: none;
    font-weight: bold;
  }
  
  h2 {
    margin-bottom: 20px;
  }
  
  p {
    font-size: 14px;
    margin-bottom: 20px;
  }
  li {
    font-size: small;
  }
  form {
    display: flex;
    flex-direction: column;
  }
  
  label {
    font-size: 12px;
    margin-bottom: 5px;
  }
  
  input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  button {
    padding: 10px;
    border: none;
    background-color: #333;
    color: white;
    border-radius: 5px;
    cursor: pointer;
  }
  
  button:hover {
    background-color: #555;
  }
  
  .show {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
  }
  .show label {
    display: flex;
    align-items: center;
    margin-left: 5px;
  }
  .forgot {
    font-size: 12px;
    margin-top: -10px;
    color: #007bff;
    text-decoration: none;
  }
  
  .forgot:hover {
    text-decoration: underline;
  }
  
  .login-btn {
    margin-top: 10px;
  }
  
  .createaccount-section ul {
    margin-bottom: 20px;
  }
  
  .create li {
    margin-bottom: 10px;
  }
  
  .create-btn {
    background-color: #000;
  }
  .error{
    color: red;
    font-size: 13px;
    margin-bottom: 10px;
    margin-top: 5px;
}
.input{
    margin-bottom: 5px;
}
.show label{
    margin-bottom: 0;
}
.btn-submit{
    margin-top: 8px;
}
  /* Tablet/iPad responsive */
  @media (max-width: 1024px) and (min-width: 769px) {
    .container {
      width: 100%;
      flex-direction: column;
    }
    .login,
    .create {
      padding: 30px;
      width: 100%;
    }
    .login {
      border-right: 1px solid #ccc;
    }
    h2 {
      font-size: 2rem;
    }
    input {
      padding: 12px;
      font-size: 16px;
    }
    button {
      padding: 12px;
      font-size: 16px;
    }
    label {
      font-size: 18px;
    }
    p {
      font-size: 25px;
    }
    li {
      font-size: 1.5rem;
    }
    main {
      height: auto;
      margin-bottom: 1px;
    }
    .create-btn {
      height: 4vh;
      width: 30%;
      font-size: 18px;
    }
    .btn-submit {
      height: 4vh;
      font-size: 18px;
    }
    .forgot {
      font-size: 18px;
    }
  }

  @media (max-width: 768px) {
    .container {
      flex-direction: column; /* Stack sections on top of each other */
      width: 90%;
    }
    .login,
    .create {
      width: 100%;
      border: none; /* Remove the border when stacked */
      padding: 20px;
    }
    .login {
      border-bottom: 1px solid #ccc; /* Add a bottom border to separate sections */
    }
  }

/* Account Locked Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column;
}

.modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 0;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
    position: relative;
    margin: auto;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    background: #7D0A0A;
    color: white;
    padding: 20px;
    border-radius: 12px 12px 0 0;
    text-align: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.modal-body {
    padding: 30px 20px;
    text-align: center;
}

.lock-icon {
    font-size: 48px;
    color: #7D0A0A;
    margin-bottom: 20px;
}

.modal-body p {
    margin-bottom: 20px;
    color: #333;
    line-height: 1.5;
}

.countdown-container {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 25px;
}

.countdown-container p {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #7D0A0A;
}

#countdown-timer {
    font-size: 20px;
    font-weight: bold;
    color: #dc3545;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-forgot,
.btn-try-again {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.btn-forgot {
    background: #6c757d;
    color: white;
}

.btn-forgot:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.btn-try-again {
    background: #7D0A0A;
    color: white;
}

.btn-try-again:hover:not(:disabled) {
    background: #5a0a0a;
    transform: translateY(-2px);
}

.btn-try-again:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Responsive modal */
@media (max-width: 1024px) and (min-width: 769px) {
    .modal-content {
        width: 85%;
        max-width: 450px;
    }
    
    .modal-header h2 {
        font-size: 20px;
    }
    
    .modal-body p {
        font-size: 16px;
    }
    
    .countdown-container p {
        font-size: 17px;
    }
    
    #countdown-timer {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .modal-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-forgot,
    .btn-try-again {
        width: 100%;
        max-width: 200px;
    }
}
  