/* 🌟 Forms & Authentication Pages */
body {
    background-color: #e3eaf5;
    font-family: "Roboto", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.register-container, .login-container {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* ✅ Form Fields */
form label {
    display: block;
    text-align: left;
    font-weight: bold;
    margin-top: 10px;
}

/* ✅ Fix Input Padding */
form input {
    width: 100%;
    padding: 12px 15px; /* Add padding on both sides */
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box; /* Ensures padding doesn't mess with width */
}

/* ✅ Role & Gender Buttons */
.gender-options, .role-options {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.gender-button, .role-button {
    background: white;
    border: 2px solid #ccc;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
}

/* ✅ Change Athlete & Coach Buttons to Green */
.role-button.active {
    background: #28a745 !important; /* ✅ Ensures it's green */
    color: white !important;
    border-color: #28a745 !important;
}

/* ✅ Keep Gender Buttons Blue */
.gender-button.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

/* ✅ Buttons */
.btn-primary {
    width: 100%;
    margin-top: 15px;
    background-color: #007bff;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* ✅ Role & Gender Buttons */
.gender-options, .role-options {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.gender-button, .role-button {
    background: white;
    border: 2px solid #ccc;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
}

.gender-button.active, .role-button.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

/* ✅ Error Messages */
.error-message {
    color: red;
    font-size: 14px;
    margin-top: 10px;
}

/* ✅ Login/Register Link */
.centered-link {
    margin-top: 15px;
}

.centered-link a {
    color: #007bff;
    font-weight: bold;
    text-decoration: none;
}

.centered-link a:hover {
    text-decoration: underline;
}

