.main-column {
    height: auto;
    margin: 0;
    font-size: 18px; /* Smaller text size */
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Calibri', sans-serif;
    justify-content: center;
    text-align: left; /* Left-align the text */
}
.logo {
    width: 280px; /* Slightly smaller logo width */
    height: 120px; /* Slightly smaller logo height */
    margin-bottom: 10px; /* Reduced margin */
    margin-top: 100px; /* Adjusted margin-top */
}
.form-group {
    width: 400px;
    display: flex;
    margin-bottom: 10px;
}

.form-group label, .form-group input {
    width: 200px; /* Adjust the width as needed */
}

.form-group select{
    width: 52%;
}

.phone-form-group{
    width: 400px;
    display: flex;
    margin-bottom: 10px;
}
.phone-form-container{
    width: 205px; 
    display:flex
}
.phone-form-group label {
    width: 200px;
}

.phone-form-group select {
    width: 80px; /* Adjust the width as needed */
}

.phone-form-group input {
    width: 120px; /* Adjust the width as needed */
}

.register-button {
    padding: 8px 16px;
    cursor: pointer;
    background-color: #4206b3fa;
    color: white;
    font-size: 14px;
    transition: color 0.3s, background-color 0.3s;
    position: relative;
    text-decoration: none;
    border-radius: 4px;
}

.register-button:hover {
    color: #FFFFFF;
    background-color: #4A148C;
}
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px; /* Adjust width as necessary */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19); /* Shadow for emphasis */
    animation-name: modalopen;
    animation-duration: 0.4s; /* Smooth opening effect */
}

/* Add animation for modal opening */
@keyframes modalopen {
    from {opacity: 0}
    to {opacity: 1}
}

/* Close button styles */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.form-group.agreement {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%; /* Ensures that the agreement group spans the full width */
}
.form-group.agreement label, .form-group.agreement input {
    width: auto; /* Allows width to adjust naturally */
}
.form-group.agreement input {
    margin-right: 10px; /* Provides spacing between the checkbox and the label */
}
.form-group.agreement label {
    flex-grow: 1; /* Allows the label to fill the remaining space */
    text-align: left; /* Aligns the text to the left, making it look orderly */
}

@media (max-width: 767px) {
    .main-column {
        align-items: stretch; /* Makes main column full width */
        padding: 10px; /* Adds padding for smaller devices */
        font-size: 16px; /* Smaller font size for mobile */
        text-align: center; /* Center text for mobile */
    }
    .logo {
        width: 50%; /* Adjust logo size for smaller screens */
        height: auto; /* Maintain aspect ratio */
        margin-top: 20px; /* Adjust top margin */
    }
    .form-group, .phone-form-group {
        flex-direction: column; /* Stack label and input vertically */
        width: 100%; /* Full width for mobile */
    }
    .form-group.agreement {
        flex-direction: row; /* Keep the checkbox and label on the same line */
    }
    .phone-form-container {
        width: 100%; 
        display: flex;
    }           
    .form-group label, .form-group select, .form-group input, .phone-form-group label,.phone-form-group input  {
        width: 100%; 
    }
    .form-group select{
        text-align: center;
    }
    .modal-content {
        width: 90%;
    }
}