 /* Main styles for login and signup forms */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.form-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.form-group select:focus {
    border-color: #007bff;
    outline: none;
}

.form-error {
  color: #721c24;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  padding: 16px 24px;
  margin: 20px auto;
  border-radius: 8px;
  font-weight: 600;
  font-size: 17px;
  text-align: center;
  width: fit-content;
  max-width: 90%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.form-success {
  color: #155724;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  padding: 16px 24px;
  margin: 20px auto;
  border-radius: 8px;
  font-weight: 600;
  font-size: 17px;
  text-align: center;
  width: fit-content;
  max-width: 90%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}



body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-container, .signup-container {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 350px;
}

.form-header {
    text-align: center;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}

.form-group input:focus {
    border-color: #4d90fe;
    outline: none;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #4285f4;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.submit-btn:hover {
    background-color: #357ae8;
}

.error-message {
    color: #f44336;
    margin-bottom: 15px;
    text-align: center;
}

.signup-link, .login-link {
    text-align: center;
    margin-top: 20px;
}

.signup-link a, .login-link a {
    color: #4285f4;
    text-decoration: none;
}

.signup-link a:hover, .login-link a:hover {
    text-decoration: underline;
}
.error-message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
    font-weight: 500;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 10px;
    border-radius: 4px;
    border-left: 4px solid #dc3545;
    margin-bottom: 15px;
}

/* Individual field errors */
.field-error {
    color: #dc3545;
    font-size: 13px;
    margin-top: 3px;
    display: block;
}

/* Input field with error state */
.form-group input.error,
.form-group select.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Success message */
.success-message {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    padding: 10px;
    border-radius: 4px;
    border-left: 4px solid #28a745;
    margin-bottom: 15px;
