.registerContainer {
    width: 100%;
    min-height: 100vh; /* Full viewport height */
    position: relative;
    background: url("../../images/banners/loginBanner.jpg") no-repeat center center fixed; /* Keeps background centered */
    background-size: cover; /* Ensures background covers the entire area */
    display: flex;
    justify-content: center; /* Centers the form horizontally */
    align-items: center; /* Centers the form vertically */
    overflow: hidden; /* Prevents extra space at the bottom */
}

.registerFormWrap {
    max-width: 600px; /* Increase the max-width for a wider form */
    width: 50%; /* Adjusts width for more space */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.9); /* Slight transparency */
    padding: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); /* Adds a shadow for better visibility */
    border-radius: 8px; /* Rounded corners */
    overflow-y: auto; /* Enables scrolling if content overflows */
}

.registerFormWrap form {
    width: 85%; /* Adjust form width to fit within the larger container */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.alertRegister {
    width: 85%;
    background: #f2dedf;
    color: red;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 5px; /* Rounded corners */
    margin-top: 20px;
}

.alertRegisterTitle {
    font-weight: 600;
}

.alertRegisterText {
    text-align: center;
}

/* Media Queries for Responsiveness */
@media only screen and (max-width: 1400px) {
    .registerFormWrap {
        width: 70%;
        max-width: 500px; /* Smaller max-width for medium screens */
        padding: 30px 0;
    }
}

@media only screen and (max-width: 768px) {
    .registerFormWrap {
        width: 90%;
        max-width: 400px; /* Smaller max-width for mobile devices */
        padding: 30px 0;
    }
    .registerContainer {
        padding: 20px; /* Adds padding around the container on small screens */
    }
}
