/* General Body Styling */
body {
    font-family: Arial, sans-serif;
    background-color: #f9f9fc;
    margin: 0;
    padding: 0;
}
/* Form Container Styling */
.form-wrapper {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    min-height: 100vh; /* Full viewport height */
    background-color: #f9f9fc; /* Background color */

}

.form-container {
    background: #ffffff;
    padding: 10px 25px;
    border-radius: 10px; /* Slightly rounded corners */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Softer shadow */
    width: 100%;
    max-width: 700px; /* Increased width */
    margin-top: 126px;

}

.form-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
}

/* Form Group Styling */
.form-group {
    margin-bottom: 20px;
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    border-color: #007BFF; /* Highlight input on focus */
    outline: none;
}

/* Two Fields in One Line */
.form-row {
    display: flex;
    gap: 20px; /* Add space between fields */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* Gender Options */
.gender-options {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.gender-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    color: #333;
    cursor: pointer;
}

.gender-options input[type="radio"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.gender-options input[type="radio"]:checked {
    background-color: #007BFF;
    border-color: #007BFF;
}

/* Form Button Styling */
.form-actions {
    text-align: center;
    margin-top: 20px;
}

.form-actions button {
    background: #007BFF;
    color: #fff;
    font-size: 16px;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.form-actions button:hover {
    background: #0056b3;
}

/* Login Link Styling */
.login-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.login-link a {
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 600px) {
    .form-row {
        flex-direction: column; /* Stack fields vertically on small screens */
    }
    .form-actions button {
        width: 100%; /* Full-width button on small screens */
    }
}

.form-wrapper2 {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    min-height: 100vh; /* Full viewport height */
    background-color: #f9f9fc; /* Background color */
    margin-bottom: -10%;
}

.form-container2 {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;

}

.form-container2 h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333333;
}

/* Form Group Styling */
.form-group2 {
    margin-bottom: 20px;
}

.form-group2 label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

.form-group2 input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    box-sizing: border-box;
    transition: border-color 0.3s ease-in-out;
}

.form-group2 input:focus {
    border-color: #000000;
    outline: none;
}

/* Form Button Styling */
.form-actions2 {
    text-align: center;
}

.form-actions2 button {
    background: #000000;
    color: white;
    font-size: 16px;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.form-actions2 button:hover {
    background: #ffffff;
    color: #333;
}

/* Responsive Design */
@media (max-width: 480px) {
    .form-container2 {
        padding: 20px 15px;
        width: 90%;
    }

    .form-group2 label {
        font-size: 14px;
    }

    .form-group2 input {
        font-size: 14px;
        padding: 8px;
    }

    .form-actions2 button {
        padding: 8px 15px;
        font-size: 14px;
    }
}
.registration-link {
    text-align: center;
    margin-top: 15px;
}

.registration-link a {
    color: #007bff;
    text-decoration: none;
}

.registration-link a:hover {
    text-decoration: underline;
}
