/* General Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f9fafc; /* Light gray background */
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Container Styles */
.container {
    width: 100%;
    max-width: 400px;
    background-color: #ffffff;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
}

/* Header Styles */
.container h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

.container p {
    font-size: 14px;
    color: #6b7280; /* Light gray for text */
    margin-bottom: 20px;
    text-align: center;
}

.container p a {
    color: #0d6efd; /* Blue link */
    text-decoration: none;
}

.container p a:hover {
    text-decoration: underline;
}

/* Input Group Styles */
.input-group {
    margin-bottom: 20px;
    text-align: left; /* Aligns all elements in this group to the left */
}

.input-group label {
    display: block; /* Ensures the label is on its own line */
    font-size: 14px; /* Font size for the label */
    font-weight: bold; /* Makes the label bold */
    margin-bottom: 8px; /* Adds spacing between the label and input */
    color: #333; /* Optional: A darker color for better contrast */
}

.input-group input {
    width: 100%; /* Makes the input take up the full width of the container */
    padding: 10px; /* Adds padding for better usability */
    font-size: 14px; /* Font size for the input text */
    border: 1px solid #e5e7eb; /* Light border for the input field */
    border-radius: 5px; /* Adds rounded corners to the input field */
    box-sizing: border-box; /* Ensures padding doesn't affect width */
}

.input-group input[type="date"] {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    box-sizing: border-box;
    appearance: none; /* Removes browser-specific styling for consistency */
}

.input-group input[type="password"] {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    box-sizing: border-box;
}

#signup-password, #confirm-password {
    border: 1px solid #e5e7eb; /* Default border */
    border-radius: 4px;
    padding: 10px;
}

#signup-password:focus, #confirm-password:focus {
    outline: none;
    border-color: #007bff; /* Blue border on focus */
}

#confirm-password.error {
    border-color: red; /* Red border if passwords don’t match */
}

#confirm-password.success {
    border-color: green; /* Green border if passwords match */
}

input[type="password"].error {
    border-color: red;
}

input[type="password"].success {
    border-color: green;
}

/* Button Styles */
.btn {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    background-color: #00bfff;; /* Updated button color */
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.login-btn {
    text-decoration: none; /* Removes the underline */
}

.btn:hover {
    background-color: #007acc; /* Updated hover button color */
}

/* Back Link */
.back-link {
    display: block;
    text-align: left;
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 20px;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

/* Style for the forgot-password link */
.forgot-password {
    margin-top: 10px; /* Add spacing above the link */
    text-align: center; /* Center-align the link */
}

.forgot-password .btn-secondary {
    color: black; /* Set the text color to black */
    text-decoration: none; /* Remove underline by default */
    font-weight: bold; /* Make the text bold */
    font-size: 14px; /* Set the font size */
    transition: color 0.3s ease, text-decoration 0.3s ease; /* Smooth hover effect */
}

.forgot-password .btn-secondary:hover {
    text-decoration: underline; /* Add underline on hover */
    color: #333; /* Slightly darker black on hover */
}

#form-switch-text a#toggle-form {
    display: inline-block;
    margin-top: 10px; /* Add spacing between the buttons */
    color: #000000; /* Black color for the text */
    font-weight: bold; /* Make the text bold */
    text-decoration: none; /* Remove underline */
    font-size: 14px;
    transition: color 0.3s ease;
}

#form-switch-text a#toggle-form:hover {
    color: #333333; /* Slightly lighter black on hover */
    text-decoration: underline; /* Add underline on hover */
}
/* Additional styles for "signup.html" */
.alternate-action {
    margin-top: 20px;
    text-align: center; /* Center-align the button */
}

.alternate-action .btn-secondary {
    display: inline-block;
    font-size: 14px;
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}