/* Popup styles */
.popup-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    padding: 20px;
    background-color: black;
    border-radius: 10px;
    z-index: 10000;
    display: none;
    transition: all 0.3s ease;
    max-height: calc(100% - 100px);
    overflow-y: auto;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
    color: black;
    font-family: Helvetica, sans-serif;
    background-color: white;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.popup-close:hover {
    background-color: black;
    color: white;
}

.popup-content {
    margin-top: 0px;
}

.popup-tabs {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 0px;
}

.popup-tab {
    padding: 10px 30px;
    margin: 0;
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-size: 18px;
    font-family: Helvetica, sans-serif;
    color: white;
    background-color: transparent;
}

.popup-tab:hover,
.popup-tab.active {
    background-color: white;
    color: black;
}

.form-container {
    display: none; /* Initially hide all form containers */
}

.form-container.active {
    display: block; /* Show the form container with the active class */
}

.form-container h2,
.form-container label {
    color: white;
    font-family: Helvetica, sans-serif;
}
/* Add this style for the form fields container inside the form-container */
.form-container form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Add this style to each form field to set their width to occupy half of the container */
.form-container label,
.form-container input,
.form-container textarea,
.form-container button {
    width: 48%; /* You can adjust the width as needed */
    margin-bottom: 10px;
}

/* Add some spacing between the form fields */
.form-container input,
.form-container textarea {
    padding: 5px;
}

/* Adjust the width of the submit button */
.form-container button {
    width: 100%;
}

/* Add media query to make it responsive for smaller screens */
@media (max-width: 600px) {
    .form-container label,
    .form-container input,
    .form-container textarea,
    .form-container button {
        width: 100%; /* Make the fields occupy full width on smaller screens */
    }
}
