/* Main Content Styling */
.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--background-color);
    padding: 1rem;
}

/* Register Section */
.register-section {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px var(--shadow-color);
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.register-section h1 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--heading-color);
}

/* Form Styling */
.register-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Form Group Styling */
.form-group {
    display: flex;
    flex-direction: column;
}

/* Label Styling */
.form-label {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

/* Input Field Styling */
.form-input {
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid var(--input-border);
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s;
}

.form-input:focus {
    border-color: var(--primary-color);
}

/* Already Have an Account Link */
form a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

form a:hover {
    color: var(--secondary-color);
}

/* Login Button Styling */
.register-btn {
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    background-color: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
    cursor: pointer;
    text-align: center;
}

.register-btn:hover {
    background-color: var(--secondary-color);
}

/* Media Query for Larger Screens */
@media (min-width: 768px) {
    .register-section {
        padding: 35px;
        max-width: 400px;
        margin: 32px auto;
    }

    .register-section h1 {
        font-size: 28px;
        margin-bottom: 32px;
    }

    .form-input {
        font-size: 1.1rem;
    }
}
