.wwsf-shell,
.wwsf-shell * {
    box-sizing: border-box;
}

.wwsf-shell {
    width: 100%;
    max-width: 685px;
    margin: 0 auto;
    font-family: "IBM Plex Sans Arabic", Arial, sans-serif;
    color: #111;
}

.wwsf-form {
    width: 100%;
    background: #fff;
    padding: 0;
}

.wwsf-field {
    margin: 0 0 30px;
}

.wwsf-field label {
    display: block;
    margin: 0 0 8px;
    color: #111;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
}

.wwsf-shell[dir="rtl"] .wwsf-field label {
    text-align: right;
}

.wwsf-shell[dir="ltr"] .wwsf-field label {
    text-align: left;
}

.wwsf-req {
    color: #ed1b2f;
    font-weight: 700;
    margin-inline-start: 8px;
}

.wwsf-field input[type="text"],
.wwsf-field input[type="tel"],
.wwsf-field select,
.wwsf-field textarea {
    width: 100%;
    min-height: 52px;
    border: 1px solid #bcc3c7;
    border-radius: 3px;
    background: #fff;
    color: #111;
    font: 400 17px/1.5 "IBM Plex Sans Arabic", Arial, sans-serif;
    outline: none;
    padding: 11px 14px;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.wwsf-shell[dir="rtl"] input,
.wwsf-shell[dir="rtl"] select,
.wwsf-shell[dir="rtl"] textarea {
    direction: rtl;
    text-align: right;
}

.wwsf-shell[dir="ltr"] input,
.wwsf-shell[dir="ltr"] select,
.wwsf-shell[dir="ltr"] textarea {
    direction: ltr;
    text-align: left;
}

.wwsf-field input:focus,
.wwsf-field select:focus,
.wwsf-field textarea:focus {
    border-color: #ed1b2f;
    box-shadow: 0 0 0 2px rgba(237, 27, 47, .12);
}

.wwsf-field ::placeholder {
    color: #a9abad;
    opacity: 1;
}

.wwsf-field select {
    appearance: none;
    cursor: pointer;
    color: #526067;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='%23636b6f'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
}

.wwsf-shell[dir="rtl"] .wwsf-field select {
    background-position: 12px 50%;
    padding-left: 36px;
}

.wwsf-shell[dir="ltr"] .wwsf-field select {
    background-position: calc(100% - 12px) 50%;
    padding-right: 36px;
}

.wwsf-field textarea {
    min-height: 216px;
    resize: vertical;
}

.wwsf-dynamic-section {
    display: none;
    margin: -8px 0 28px;
    padding: 16px;
    border: 1px solid #f1c5cb;
    border-radius: 4px;
    background: #fffafa;
}

.wwsf-dynamic-section.is-visible {
    display: block;
}

.wwsf-dynamic-section .wwsf-field {
    margin-bottom: 18px;
}

.wwsf-dynamic-section .wwsf-field:last-child {
    margin-bottom: 0;
}

.wwsf-badge {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 2px 9px;
    border-radius: 999px;
    background: #fff0f2;
    color: #d5172a;
    font-size: 12px;
    font-weight: 700;
    vertical-align: middle;
}

.wwsf-upload {
    display: flex !important;
    min-height: 118px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-direction: column;
    border: 1.5px dashed #ed1b2f;
    border-radius: 4px;
    background: #fff;
    color: #60676b !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-align: center !important;
}

.wwsf-upload input {
    display: none;
}

.wwsf-upload-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ed1b2f;
    color: #fff;
    font-size: 21px;
    line-height: 1;
}

.wwsf-file-name {
    color: #8c9295;
    font-size: 13px;
    font-weight: 400;
}

.wwsf-submit {
    width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 4px;
    border: 0;
    border-radius: 3px;
    background: #e91b31;
    color: #fff;
    cursor: pointer;
    font: 700 15px/1 "IBM Plex Sans Arabic", Arial, sans-serif;
    transition: background .16s ease, transform .16s ease;
}

.wwsf-submit:hover,
.wwsf-submit:focus {
    background: #d91529;
}

.wwsf-submit:active {
    transform: translateY(1px);
}

.wwsf-submit[disabled] {
    cursor: wait;
    opacity: .72;
}

.wwsf-submit-arrow {
    width: 17px;
    height: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.wwsf-submit-arrow svg {
    display: block;
    width: 17px;
    height: 17px;
}

.wwsf-notice {
    display: none;
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
}

.wwsf-notice.is-visible {
    display: block;
}

.wwsf-notice.is-success {
    background: #ecfdf3;
    color: #087443;
    border: 1px solid #b7efcf;
}

.wwsf-notice.is-error {
    background: #fff1f2;
    color: #b31325;
    border: 1px solid #ffc7ce;
}

@media (max-width: 640px) {
    .wwsf-shell {
        max-width: 100%;
    }

    .wwsf-field {
        margin-bottom: 22px;
    }

    .wwsf-field label {
        font-size: 16px;
    }

    .wwsf-field input[type="text"],
    .wwsf-field input[type="tel"],
    .wwsf-field select,
    .wwsf-field textarea {
        font-size: 16px;
    }
}
