.jelly-form {
    width: 100%
}

.jelly-form .form-field {
    margin-bottom: 16px
}

.jelly-form .form-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px
}

.jelly-form .form-field input,
.jelly-form .form-field textarea {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    box-sizing: border-box
}

.jelly-form .form-field textarea {
    resize: vertical;
    min-height: 120px
}

.jelly-form .form-submit {
    width: 100%
}

.jelly-form .form-response {
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(-10px) scale(0);
    transition: all .3s ease
}

.jelly-form .form-response.error,
.jelly-form .form-response.ok {
    opacity: 1;
    transform: translateY(0) scale(1);
    margin-top: 10px;
    padding: 12px 16px
}

.jelly-form .form-response.ok {
    color: #1b7f3a;
    background-color: rgb(27 127 58 / .1);
    border: 1px solid rgb(27 127 58 / .2)
}

.jelly-form .form-response.error {
    color: #b00020;
    background-color: rgb(176 0 32 / .1);
    border: 1px solid rgb(176 0 32 / .2)
}

.jelly-form .required {
    color: #e53935
}

.jelly-form-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / .5);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center
}

.jelly-form-modal .jelly-form-popup {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 5px 15px rgb(0 0 0 / .3);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-sizing: border-box
}

.jelly-form-modal .jelly-form-popup .jelly-form-popup-title {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 32px;
    text-align: center
}

.jelly-form-modal .jelly-form-popup .jelly-form-popup-description {
    text-align: center;
    margin-bottom: 25px
}

.jelly-form-modal .jelly-form-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    font-weight: 700;
    color: #aaa;
    cursor: pointer;
    background: 0 0;
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center
}

.jelly-form-modal .jelly-form-popup-close:hover {
    color: #333
}

@media (max-width:747px) {
    .jelly-form-modal .jelly-form-popup {
        padding: 20px;
        width: 85%
    }
    .jelly-form-modal .jelly-form-popup .jelly-form-popup-title {
        font-size: 20px
    }
}