body {
    background-color: #fff;
    margin: 0;
    font-size: 16px;
}
.hide {
    display: none;
}
.appointments-form-structural {
    font-family: 'e-Ukraine-Regular', sans-serif;
    padding: 1.5rem 1rem;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}
.appointments-form-structural__title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    line-height: 1.2;
    margin: 0 0 1rem;
    text-align: center;
    color: #000;
    font-family: "e-UkraineHead-LOGO", sans-serif;
}
.nav-options {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}
.nav-options ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}
.nav-options ul li a {
    text-decoration: none;
    color: #000;
    font-size: clamp(0.9rem, 4vw, 1.1rem);
    font-weight: bold;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s;
    font-family: "e-UkraineHead-Bold", sans-serif;
    border-radius: 4px;
    display: inline-block;
    touch-action: manipulation;
}
.nav-options ul li a:hover {
    background-color: #f0f0f0;
}
.nav-options ul li a.active {
    color: #fff;
    background-color: #000;
}
.appointments-form-structural__block {
    background-color: #fff;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.appointments-form-structural__block p {
    font-size: clamp(0.85rem, 3vw, 0.95rem);
    color: #000;
    font-family: "e-UkraineHead-Regular", sans-serif;
    margin: 0.5rem 0;
}
.appointments-form-structural__comment-main {
    color: #000;
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    font-family: "e-UkraineHead-Regular", sans-serif;
}
.appointments-form-structural__symbol {
    color: rgb(173, 19, 19);
    margin-right: 0.5rem;
}
.pgt {
    display: flex;
    align-items: center;
    padding-top: 0.75rem;
}
.pgt-mb {
    padding-top: 0.5rem;
    margin-bottom: 0.5rem;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    max-width: 100%;
    margin-top: 0.75rem;
}
.form-group {
    display: flex;
    flex-direction: column;
}
.form-text {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.form-selector {
    padding: 0.6rem;
    font-size: clamp(0.85rem, 3vw, 0.95rem);
    border-radius: 6px;
    border: 1px solid #ccc;
    background-color: #fff;
    margin-top: 0.4rem;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23000' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.6rem center;
    background-size: 10px;
    width: 100%;
    box-sizing: border-box;
}
.form-selector:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}
.form-selector option {
    background-color: #fff;
    color: #000;
}
.form-selector option:checked {
    background-color: #005bb5;
    color: #fff;
}
.full-width {
    grid-column: 1 / -1;
}
.transparency {
    font-weight: 600;
    opacity: 0.7;
}
input[type="text"],
input[type="email"],
input[type="number"],
input[type="tel"],
textarea,
select.form-selector {
    padding: 0.6rem;
    font-size: clamp(0.85rem, 3vw, 0.95rem);
    border-radius: 6px;
    border: 1px solid #ccc;
    background-color: #f7f6fb;
    margin-top: 0.4rem;
    box-sizing: border-box;
    width: 100%;
}
#text {
    height: 120px;
    resize: vertical;
}
.public-info-request-written-section__info-block {
    border: none;
    background-color: #f7f6fb;
    padding: 0.6rem;
    margin: 0.5rem 0;
}
.public-info-request-written-section__info-block li {
    margin-bottom: 0.6rem;
}
.public-info-request-written-section__info-block li:last-child {
    margin-bottom: 0;
}
.written-section {
    margin-top: 0.75rem;
}
.appointments-form-structural__attach-block {
    margin-top: 0.75rem;
    padding: 0.6rem 0;
    background-color: #fff;
    border-radius: 6px;
    box-sizing: border-box;
}
.appointments-form-structural__attach-label,
.appointments-form-structural__files-requirements {
    width: 100%;
}
.appointments-form-structural__comment {
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    color: #000;
    margin-bottom: 0.4rem;
}
.appointments-form-structural__input-view {
    display: inline-block;
    padding: 0.6rem;
    font-size: clamp(0.85rem, 3vw, 0.95rem);
    border: none;
    background-color: #f7f6fb;
    cursor: pointer;
    border-radius: 6px;
    width: 100%;
    text-align: left;
    box-sizing: border-box;
}
.input-with-text {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.4rem;
}
.file-limit-text {
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    color: #555;
}
.file-input-label {
    display: inline-block;
    position: relative;
    cursor: pointer;
    width: 100%;
}
.appointments-form-structural__input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    cursor: pointer;
}
.appointments-form-structural__clip-icon {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.2rem;
    height: 1.2rem;
}
.appointments-form-structural__files-requirements {
    font-size: clamp(0.7rem, 2vw, 0.8rem);
    color: #555;
    margin-top: 0.4rem;
    line-height: 1.4;
}
.appointments-form-structural__files-list {
    list-style: none;
    padding: 0;
    margin-top: 0.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.appointments-form-structural__files-list-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem;
    background-color: #f7f6fb;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}
.appointments-form-structural__files-cross-icon {
    cursor: pointer;
}
.appointments-form-structural__field-validation-error {
    font-size: clamp(0.7rem, 2vw, 0.8rem);
    color: #d32f2f;
    margin-top: 0.2rem;
}
#files-max-size-error-message {
    color: #d32f2f;
}
.compact-block {
    margin-top: 0;
    padding-bottom: 0;
}
.description {
    color: #555;
    margin-bottom: 0.75rem;
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
}
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.75rem;
}
.radio-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
}
.radio-group input[type="radio"] {
    appearance: none;
    width: 1.2rem;
    height: 1.2rem;
    border: 2px solid #ccc;
    border-radius: 50%;
    outline: none;
    margin-right: 0.6rem;
    position: relative;
}
.radio-group input[type="radio"]:checked {
    border-color: #000;
}
.radio-group input[type="radio"]:checked::after {
    content: '';
    width: 0.6rem;
    height: 0.6rem;
    background-color: #000;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.radio-label {
    font-size: clamp(0.9rem, 3vw, 1rem);
    color: #000;
    font-family: "e-Ukraine", sans-serif;
}
.consent-group {
    display: flex;
    align-items: flex-start;
    padding: 0.6rem;
    background-color: #f7f6fb;
    border-radius: 6px;
}
.consent-group input[type="checkbox"] {
    width: 1.2rem;
    height: 1.2rem;
    margin-right: 0.6rem;
    cursor: pointer;
    appearance: none;
    border: 2px solid #ccc;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    align-self: center;
}
.consent-group input[type="checkbox"]:checked {
    border-color: #000;
    background-color: #000;
}
.consent-group input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    width: 0.25rem;
    height: 0.6rem;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    top: 5%;
    left: 60%;
    margin-left: -0.25rem;
}
.consent-label {
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    color: #000;
    line-height: 1.4;
    padding: 0.2rem;
    flex-grow: 1;
}
#phone-block .form-group:nth-child(2) .form-text {
    margin-top: 0.75rem;
}
.submit-container {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.submit-btn, .sign-btn {
    padding: 0.75rem 1rem;
    font-size: clamp(0.9rem, 3vw, 1rem);
    border-radius: 24px;
    border: none;
    background-color: #000;
    color: #fff;
    cursor: pointer;
    font-family: "e-Ukraine", sans-serif;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    touch-action: manipulation;
}
.sign-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    justify-content: center;
}
.sign-btn img.btn-icon {
    width: 1.5rem;
    height: 1.5rem;
}
.submit-btn:hover:not(:disabled), .sign-btn:hover:not(:disabled) {
    background-color: #333;
    transform: scale(1.05);
}
.submit-btn:active:not(:disabled), .sign-btn:active:not(:disabled) {
    transform: scale(0.95);
}
.submit-btn:disabled, .sign-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}
@media (min-width: 1524px) {
    .appointments-form-structural {
        padding: 2rem 1.5rem;
        max-width: 1280px;
    }
    .appointments-form-structural__title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .nav-options ul {
        gap: 1.5rem;
    }
    .nav-options ul li a {
        font-size: clamp(1rem, 4vw, 1.25rem);
        padding: 0.5rem 1.5rem;
    }
    .appointments-form-structural__block {
        padding: 1.5rem;
    }
    .form-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    .radio-group {
        flex-direction: row;
        gap: 1.5rem;
    }
    .submit-container {
        flex-direction: row;
        justify-content: flex-start;
    }
    .submit-btn, .sign-btn {
        width: auto;
        padding: 0.8rem 1.5rem;
        font-size: clamp(1rem, 3vw, 1.25rem);
    }
    .sign-btn img.btn-icon {
        width: 2rem;
        height: 2rem;
    }
}