.signup-popup {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    font-family: var(--font-livvic);
}

.popup-content {
    background-color: white;
    padding: 30px;
    margin: 60px auto;
    border: 0.5px solid var(--color-grey);
    border-radius: 20px;
    position: relative;
    max-width: 1080px;
}

.popup-content .close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.popup-content .close:hover,
.popup-content .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.signup-popup h1 {
    position: relative;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.signup-popup h1::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    height: 3px;
    width: 20px;
    border-radius: 8px;
    background-color: #2D6769;
}

.signup-popup form {
    position: relative;
    margin-top: 16px;
    min-height: 480px;
    background-color: #fff;
    overflow: hidden;
}

.signup-popup form .form {
    position: absolute;
    background-color: #fff;
    transition: 0.3s ease;
}

.signup-popup form .title {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 500;
    margin: 6px 0;
    color: #333;
}

.signup-popup form .fields {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

form .fields .input-field {
    display: flex;
    width: calc(100% / 3 - 15px);
    flex-direction: column;
    margin: 4px 0;
}

.input-field label {
    font-size: 12px;
    font-weight: 500;
    color: #2e2e2e;
}

.input-field input,
select {
    outline: none;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    border-radius: 5px;
    border: 1px solid #aaa;
    padding: 0 15px;
    height: 42px;
    margin: 8px 0;
}

.input-field input :focus,
.input-field select:focus {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.13);
}

.input-field select,
.input-field input[type="date"] {
    color: #707070;
}

.input-field input[type="date"]:valid {
    color: #333;
}

.signup-popup form button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    width: 100px;
    border: none;
    outline: none;
    color: #fff;
    border-radius: 5px;
    margin: 25px 0;
    background-color: #10999E;
    opacity: 0.6;
    transition: all 0.3s linear;
    cursor: pointer;
}

.signup-popup form .btnText {
    font-size: 14px;
    font-weight: 400;
}

form button:hover {
    background-color: #2D6769;
    opacity: 1;
}

form .buttons {
    display: flex;
    align-items: center;
}

form .personal {
    padding: 10px 0;
}

.input-field textarea {
    width: 100%;
    height: 120px;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #aaa;
    margin: 8px 0;
    font-size: 14px;
    resize: none;
    /* Adjust the font-size as desired */
    color: #333;
    outline: none;
}

@media (max-width: 750px) {
    .signup-popup form {
        overflow-y: scroll;
    }

    .signup-popup form::-webkit-scrollbar {
        display: none;
    }

    form .fields .input-field {
        width: calc(100% / 2 - 15px);
    }
}

@media (max-width: 550px) {
    form .fields .input-field {
        width: 100%;
    }
}