.form-container {
    position: absolute;
    top: 64%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.95);
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 1000px;
    width: 98%;
    z-index: 1;
    max-height: 70vh;
}

.form-container h2 {
    padding: 10px 0;
    background-color: #66c2e3;
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    text-align: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    margin: -21px -11px 20px -10px;
}

.form-container label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-container input[type="text"],
.form-container input[type="email"],
.form-container input[type="date"],
.form-container select,
.form-container textarea,
.form-container .date-select {
    width: 70%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.form-container .required {
    display: inline-block;
    background-color: #ff4d4d;
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 0.75rem;
    vertical-align: middle;
}

.form-container .form-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 15px;
}

.form-container .label {
    width: 30%;
    margin-bottom: 0;
    font-weight: bold;
    text-align: left;
    display: flex;
    align-items: center;
}

.form-container .submit-btn {
    width: 100%;
    padding: 10px;
    background-color: #66c2e3;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1.1rem;
    text-align: center;
}

.form-container .submit-btn:hover {
    background-color: #2acae9;
}

.form-container .gender,
.form-container .diseases,
.form-container .proof {
    display: none;
}

.checkbox-group {
    margin: 15px 0;
    width: 100%;
}

.checkboxes {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.checkbox-item input[type="checkbox"] {
    margin: 0;
    cursor: pointer;
}

.checkbox-item label {
    margin: 0;
    cursor: pointer;
}

.banner-image {
    width: 100%;
    height: auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 126px auto 30px;
}

.banner-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.form-columns {
    display: flex;
    gap: 40px;
    margin-bottom: 8px;
}

.form-column {
    flex: 1;
    width: 50%;
    padding: 0 10px;
}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.service-region {
    font-weight: bold;
}

.must {
    display: flex;
    align-items: center;
    gap: 5px;
}

.form-row {
    margin-bottom: 6px;
}

.label {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 0;
    font-weight: bold;
    font-size: 0.9rem;
}

.input, .textarea {
    width: 100%;
    padding: 3px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 0;
}

.textarea {
    height: 50px;
    resize: vertical;
}

.agreement {
    text-align: center;
    margin: 8px 0;
    font-size: 0.9rem;
}

.submit-btn {
    display: block;
    width: 200px;
    margin: 8px auto;
    padding: 6px;
    background-color: #66c2e3;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 0.9rem;
}

.submit-btn:hover {
    background-color: #2acae9;
}

.mobile-banner {
    display: none;
}

@media screen and (max-width: 768px) {
    .banner-image {
        margin: 126px auto 50px;
        background: none;
        flex-direction: column;
    }

    .banner-image > img {
        display: none;
    }

    .mobile-banner {
        display: block;
        width: 100%;
        margin-bottom: 20px;
        order: -1;
    }

    .mobile-banner img {
        width: 100%;
        height: auto;
        display: block;
    }

    .form-container {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        padding: 10px;
        width: 95%;
        margin: 0 auto 50px;
        max-height: none;
        background-color: #fff;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        order: 1;
    }

    .form-container h2 {
        display: none;
    }

    .form-columns {
        flex-direction: column;
        gap: 0;
    }

    .form-column {
        width: 100%;
        padding: 0;
    }

    .form-row {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 10px;
    }

    .label {
        width: 100%;
        margin-bottom: 5px;
    }

    .form-container input[type="text"],
    .form-container input[type="email"],
    .form-container input[type="date"],
    .form-container select,
    .form-container textarea,
    .form-container .date-select,
    .form-container .dropdown,
    .dropdowns-container {
        width: 70%;
        margin: 0 auto;
    }

    .diseases, .proof, .gender {
        flex-wrap: wrap;
        gap: 8px;
    }

    .submit-btn {
        width: 80%;
        font-size: 1rem;
    }

    .header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .form-container .form-row {
        align-items: center;
    }
}

.multi-select {
    width: 70%;
    min-height: 100px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: white;
    cursor: pointer;
}

.multi-select option {
    padding: 8px;
    margin: 2px 0;
    border-radius: 3px;
}

.multi-select option:hover,
.multi-select option:checked {
    background-color: #66c2e3;
    color: white;
}

.multi-select:focus {
    border-color: #66c2e3;
    outline: none;
    box-shadow: 0 0 5px rgba(102, 194, 227, 0.3);
}

.dropdowns-container {
    display: flex;
    gap: 20px;
    width: 70%;
}

.dropdown {
    position: relative;
    flex: 1;
}

.dropdown-btn {
    width: 100%;
    padding: 10px;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.dropdown-btn:hover {
    border-color: #66c2e3;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-top: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}

.dropdown.active .dropdown-content {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dropdown-item:hover {
    background-color: #f5f5f5;
}

.dropdown-item input[type="radio"] {
    margin-right: 10px;
}

@media screen and (max-width: 768px) {
    .dropdowns-container {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
}

.form-container .form-row .dropdown {
    width: 70%;
}

.form-container .form-row .dropdown-btn {
    width: 100%;
    padding: 8px 12px;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.form-container .form-row .dropdown-content {
    min-width: 150px;
    max-height: 200px;
    overflow-y: auto;
}

.form-container .date-select {
    display: flex;
    gap: 10px;
    align-items: center;
}

.form-container .date-select select {
    width: auto;
    padding: 8px;
    margin: 0;
}

.form-container .date-select span {
    white-space: nowrap;
}

.contact-form .form-row {
    justify-content: center;
    gap: 20px;
}

.contact-form .label {
    width: 25%;
    text-align: right;
}

.contact-form .input,
.contact-form .textarea {
    width: 70%;
}

.contact-form .agreement {
    margin-top: 20px;
}

@media screen and (max-width: 768px) {
    .contact-form .form-row {
        gap: 10px;
    }
    
    .contact-form .label {
        width: 30%;
        text-align: left;
    }
}

.content-container {
    width: 90%;
    max-width: 1200px;
    margin: 126px auto 50px;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-title {
    font-size: 2rem;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #66c2e3;
}

.content-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
}

.content-text h2 {
    font-size: 1.3rem;
    margin: 25px 0 12px;
}

.content-text p {
    margin-bottom: 20px;
}

.content-text ul {
    margin: 15px 0;
    padding-left: 20px;
}

.content-text li {
    margin-bottom: 10px;
    position: relative;
}

.content-text li:before {
    content: "•";
    color: #66c2e3;
    font-weight: bold;
    position: absolute;
    left: -15px;
}

@media screen and (max-width: 768px) {
    .content-container {
        width: 95%;
        margin: 126px auto 30px;
        padding: 15px;
    }

    .content-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .content-text {
        font-size: 1rem;
    }

    .content-text h2 {
        font-size: 1.3rem;
        margin: 25px 0 12px;
    }
}
