.raf-form-wrap {
    position: relative;
    max-width: 720px;
}

.raf-form-title {
    margin: 0 0 14px;
}

.raf-form-description {
    margin-bottom: 18px;
}

.raf-field {
    margin-bottom: 14px;
}

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

.raf-field input,
.raf-field select,
.raf-field textarea {
    box-sizing: border-box;
    width: 100%;
}

.raf-checkbox-group label {
    align-items: center;
    display: flex;
    font-weight: 400;
    gap: 8px;
    margin: 0 0 6px;
}

.raf-checkbox-group input {
    width: auto;
}

.raf-submit,
.raf-modal-close {
    cursor: pointer;
}

.raf-submit[disabled] {
    cursor: not-allowed;
    opacity: 0.55;
}

.raf-sold-out,
.raf-feedback {
    color: #b32d2e;
    font-weight: 600;
    margin-top: 10px;
}

.raf-overlay {
    align-items: center;
    background: rgba(var(--raf-overlay-color), var(--raf-overlay-opacity));
    bottom: 0;
    display: none;
    justify-content: center;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 30;
}

.raf-form-wrap.is-loading .raf-overlay {
    display: flex;
}

.raf-loader {
    animation: raf-spin 0.8s linear infinite;
    border: 4px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    border-top-color: var(--raf-loader-color);
    height: 48px;
    width: 48px;
}

.raf-modal {
    align-items: center;
    background: rgba(0, 0, 0, 0.45);
    bottom: 0;
    display: none;
    justify-content: center;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 9999;
}

.raf-modal.is-open {
    display: flex;
}

.raf-modal-box {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    max-width: 440px;
    padding: 24px;
    text-align: center;
    width: calc(100% - 32px);
}

@keyframes raf-spin {
    to {
        transform: rotate(360deg);
    }
}
