.awf-field-group {
    margin-bottom: 25px;
}
.awf-field-group label {
    display: block;
    font-weight: 900;
    font-size: 34px;
    cursor: pointer;
    transition: color 0.3s ease;
    text-transform: uppercase;
}
.awf-field-group label:hover {
    color: #000;
}
.awf-field-group label .required {
    color: #e74c3c;
    font-weight: 900;
    font-size: 18px;
    position: relative;
    top: -10px;
}
.awf-field-group label span {
    font-family: "Roboto", sans-serif;
    font-size: 17px;
    color: #666;
    line-height: 1.4;
    text-transform: none;
    font-weight: normal;
}

/* Опис полів */
.field-description {
    font-family: "Roboto", sans-serif;
    display: block;
    margin-bottom: 8px;
    font-size: 17px;
    color: #666;
    line-height: 1.4;
}

/* Поля вводу */
.awf-field {
    font-family: "Roboto", sans-serif;
    width: 100%;
    padding: 37px 15px;
    border: none;
    font-size: 22px;
    background: #CFD1D3;
    box-sizing: border-box;
    transition: all ease-in-out 0.3s;
}

.awf-field:focus {
    outline: none;
    background: #CFD1D3;
    box-shadow: 0 3px 10px rgb(51 51 51 / 10%);
}

.awf-field.error {
    border-color: #e74c3c;
    background: #fff5f5;
}

.awf-field.error:focus {
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

/* Textarea */
textarea.awf-field {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

/* Чекбокси */
.awf-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.awf-checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    position: relative;
    top: 5px;
}
.personal-data-label {
    text-align: left;
    color: #000;
}
.personal-data-label a, .awf-field-group .personal-data-label span {
    color: #000;
}

.awf-checkbox-label span {
    font-size: 15px;
    color: #333;
}

/* Множинні URL */
.awf-multiple-urls {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.remove-url {
    width: 40px;
    height: 40px;
    background: #e74c3c;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 20px;
    transition: background 0.3s ease;
}

.remove-url:hover {
    background: #c0392b;
}

.awf-add-url {
    padding: 10px 20px;
    background: #000;
    color: #efef43;
    border: none;
    cursor: pointer;
    font-size: 17px;
    font-weight: bold;
    transition: all 0.3s ease;
    align-self: flex-start;
    text-transform: uppercase;
    font-family: "Roboto", sans-serif;
}

.awf-add-url:hover {
    background: #efef43;
    color: #000;
    transform: translateY(-2px);
}

/* Dropzone стилі */
.awf-dropzone {
    min-height: 150px;
    border: 3px dashed #ddd;
    border-radius: 8px;
    background: #fafafa;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.awf-dropzone:hover {
    border-color: #efef43;
    background: #f0f8f0;
}

.awf-dropzone.dz-drag-hover {
    border-color: #efef43;
    background: #e8f5e9;
}

.awf-dropzone .dz-message {
    font-size: 16px;
    color: #666;
    margin: 20px 0;
}

.awf-dropzone .dz-preview {
    margin: 16px;
    display: inline-block;
    vertical-align: top;
}

.awf-dropzone .dz-preview .dz-image {
    border-radius: 6px;
    overflow: hidden;
    width: 120px;
    height: 120px;
    position: relative;
    display: block;
    z-index: 10;
}

.awf-dropzone .dz-preview .dz-details {
    display: none;
}
.awf-dropzone .dz-error-message {
    font-size: 11px;
    max-width: 100px;
    line-height: 15px;
    margin: auto;
    font-family: "Roboto", sans-serif;
}
.awf-dropzone .dz-preview .dz-success-mark,
.awf-dropzone .dz-preview .dz-error-mark {
    font-size: 30px;
    text-align: center;
}

.awf-dropzone .dz-preview .dz-success-mark {
    color: #efef43;
}

.awf-dropzone .dz-preview .dz-error-mark {
    color: #e74c3c;
}

.awf-dropzone .dz-preview .dz-progress {
    position: absolute;
    top: 8px;
    left: 5px;
    right: 5px;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    overflow: hidden;
}

.awf-dropzone .dz-preview .dz-progress .dz-upload {
    display: block;
    height: 100%;
    width: 0;
    background: #efef43;
    transition: width 0.3s ease;
}

/* Кнопка відправки */
.awf-submit-wrapper {
    margin-top: 30px;
    text-align: center;
    padding-top: 20px;
}

.awf-submit-btn {
    padding: 30px 50px;
    background: #000;
    color: #efef43;
    border: none;
    cursor: pointer;
    font-size: 24px;
    font-weight: normal;
    transition: all 0.3s ease;
    align-self: flex-start;
    text-transform: uppercase;
    font-family: "Roboto", sans-serif;
    letter-spacing: 1px;
}

.awf-submit-btn:hover:not(:disabled) {
    background: #efef43;
    color: #000;
    transform: translateY(-2px);
}

.awf-submit-btn:active {
    transform: translateY(-1px);
}

.awf-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Індикатор завантаження */
.awf-loading {
    display: inline-block;
    margin-left: 20px;
    color: #666;
    font-size: 14px;
    font-style: italic;
}

.awf-loading:after {
    content: "";
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% {
        content: ".";
    }
    40% {
        content: "..";
    }
    60%, 100% {
        content: "...";
    }
}

/* Повідомлення про помилку */
.error-message {
    display: block;
    color: #e74c3c;
    font-size: 13px;
    margin-top: 5px;
    animation: shake 0.3s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Повідомлення про успіх */
.awf-success {
    text-align: center;
}

.awf-success .success-title {
    color: #ABACCB;
    text-transform: uppercase;
    font-size: 34px;
    line-height: 34px;
    font-weight: 900;
}
.awf-success strong {
    font-weight: 900;
}
.awf-form-title {
    text-align: center;
    text-transform: uppercase;
    font-size: 60px;
    line-height: 70px;
    font-weight: 900;
    margin-bottom: 40px;
}
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Лічильник символів */
.char-counter {
    font-family: "Roboto", sans-serif;
    font-size: 17px;
    color: #000000;
}

.char-counter.warning {
    color: #f39c12;
    font-weight: 600;
}
.awf-field-group .awf-fieldset {
    background-color: #f7f7f7;
    padding: 20px;
}
.awf-field-group .awf-fieldset label {
    font-size: 21px;
}

.dz-preview.pdf-file .dz-image img, .dz-preview.doc-file .dz-image img,
.dz-preview.docx-file .dz-image img, .dz-preview.xls-file .dz-image img, .dz-preview.xlsx-file .dz-image img {
    display: none;
}
.dz-preview.pdf-file .dz-image {
    background-image: url("../images/pdf-icon.svg");
    background-size: 70px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.dz-preview.doc-file .dz-image {
    background-image: url("../images/doc-icon.svg");
    background-size: 70px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.dz-preview.docx-file .dz-image {
    background-image: url("../images/docx-icon.svg");
    background-size: 70px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.dz-preview.xls-file .dz-image {
    background-image: url("../images/xls-icon.svg");
    background-size: 70px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.dz-preview.xlsx-file .dz-image {
    background-image: url("../images/xlsx-icon.svg");
    background-size: 70px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
/* Адаптивність */
@media (max-width: 768px) {
    .awf-field {

    }
    .awf-dropzone {
        min-height: 120px;
    }
    .awf-dropzone .dz-preview {
        width: 100%;
        margin: 10px 0;
    }
}

/* Стилі для друку */
@media print {
    .awf-form-wrapper {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .awf-submit-wrapper,
    .awf-add-url,
    .remove-url {
        display: none;
    }
}

/* Анімація фокуса */
.awf-field:focus {
    animation: focusPulse 0.3s ease;
}

@keyframes focusPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
    }
}
.awf-form .awf-dropzone .dz-preview {
    margin: 10px;
    padding: 10px;
    box-shadow: 0px 0px 15px rgb(0 0 0 / 12%);
    border-radius: 5px;
    position: relative;
}
.awf-form .awf-dropzone .dz-preview .dz-success-mark, .awf-form .awf-dropzone .dz-preview .dz-error-mark {
    display: none;
}
.awf-form .awf-dropzone a.dz-remove {
    text-align: center;
    font-size: 14px;
    color: #ad0505;
    text-decoration: none;
    font-family: "Roboto", sans-serif;
}