.ewd-choice-disabled {
    pointer-events: none;
    text-decoration: line-through;
    color: red;
    opacity: 0.4;
}

.ewd-choice-hidden-grid {
    pointer-events: none !important;
    visibility: hidden !important;
    user-select: none !important;
}

.ewd-choice-hidden {
    pointer-events: none !important;
    display: none !important;
    user-select: none !important;
}

.ewd-no-options-text {
    font-size: 12pt;
    font-family: "docs-Roboto", Helvetica, Arial, sans-serif;
    letter-spacing: 0;
    visibility: visible !important;
}

.ewd-choice-limit-response {
    font-size: 12px;
    text-decoration: none;
    color: blue;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    line-height: 1;
    margin-left: 8px;
}

.ewd-choice-limit-response a {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.ewd-choice-limit-response-dropdown {
    font-size: 12px;
    text-decoration: none;
    color: blue;
    position: absolute;
    top: 50%;
    right: 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transform: translateY(-50%);
    line-height: 1;
}

.ewd-choice-limit-response-dropdown a {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.ewd-choice-price {
    font-size: 12px;
    color: #0b8043;
    margin-left: 8px;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    font-weight: 500;
    line-height: inherit;
    white-space: nowrap;
    flex-shrink: 0;
}

.ewd-choice-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: nowrap;
    width: 80px;
    margin-left: auto;
}

.ewd-choice-meta-row .ewd-choice-limit-response,
.ewd-choice-meta-row .ewd-choice-price {
    margin-left: 0;
}

.ewd-choice-limit-response,
.ewd-choice-price,
.ewd-choice-meta-row {
    align-self: center;
    flex-shrink: 0;
}

.nWQGrd.zwllIb,
.eBFwI {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.ewd-payment-total {
    font-size: 15px;
    color: #0b8043;
    font-weight: 600;
    margin-left: 16px;
    display: inline-flex;
    align-items: center;
    min-height: 36px;
}

.ewd-payment-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.97);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: "Google Sans", Roboto, Arial, sans-serif;
}

.ewd-payment-overlay-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #dadce0;
    border-top-color: #1a73e8;
    border-radius: 50%;
    animation: ewd-spin 0.8s linear infinite;
}

.ewd-payment-overlay-message {
    margin-top: 24px;
    font-size: 16px;
    color: #202124;
    text-align: center;
}

.ewd-stripe-pay-btn-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0 0 16px 0;
    width: 100%;
    flex-basis: 100%;
    flex-grow: 0;
    flex-shrink: 0;
    order: -1;
}

.ewd-edit-blocked-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    z-index: 2147483647;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Google Sans", Roboto, Arial, sans-serif;
}

.ewd-edit-blocked-card {
    max-width: 420px;
    width: calc(100% - 48px);
    padding: 32px 28px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(32, 33, 36, 0.18);
    text-align: center;
}

.ewd-edit-blocked-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #fce8e6;
    color: #c5221f;
    font-size: 28px;
    font-weight: 700;
    line-height: 56px;
}

.ewd-edit-blocked-title {
    font-size: 20px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 10px;
}

.ewd-edit-blocked-message {
    font-size: 14px;
    line-height: 1.5;
    color: #5f6368;
}

.ewd-stripe-fee-disclaimer {
    width: 100%;
    margin: 0 0 8px 0;
    padding: 8px 12px;
    background: #f1f3f4;
    color: #3c4043;
    border-left: 3px solid #635bff;
    border-radius: 4px;
    font-family: "Google Sans", Roboto, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.4;
    box-sizing: border-box;
}

.ewd-stripe-pay-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 24px;
    background: #635bff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: "Google Sans", Roboto, Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.ewd-stripe-pay-btn:hover {
    background: #5147e0;
    box-shadow: 0 2px 6px rgba(99, 91, 255, 0.35);
}

.ewd-stripe-pay-btn:active {
    background: #4239c7;
}

.ewd-stripe-pay-btn-image {
    height: 36px;
    width: auto;
    display: block;
    border-radius: 4px;
}

.ewd-stripe-pay-btn-label {
    white-space: nowrap;
}

.ewd-stripe-pay-btn-amount {
    margin-left: 6px;
    font-weight: 700;
}

.ewd-stripe-pay-btn-amount:empty {
    display: none;
}

.ewd-stripe-paid-status {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    background: #e6f4ea;
    color: #137333;
    border: 1px solid #b7e1c1;
    border-radius: 8px;
    font-family: "Google Sans", Roboto, Arial, sans-serif;
    animation: ewd-error-fadein 0.25s ease-out;
}

.ewd-stripe-paid-icon {
    width: 24px;
    height: 24px;
    background: #137333;
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
}

.ewd-stripe-paid-text {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.2;
}

.ewd-stripe-paid-line {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    font-size: 15px;
    font-weight: 600;
}

.ewd-stripe-paid-label {
    white-space: nowrap;
}

.ewd-stripe-paid-amount {
    font-weight: 700;
    color: #0b8043;
}

.ewd-stripe-paid-amount:empty {
    display: none;
}

.ewd-stripe-paid-hint {
    font-size: 12.5px;
    font-weight: 500;
    color: #1e8e3e;
    opacity: 0.85;
}

.ewd-stripe-selection-changed {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    background: #fff8e1;
    color: #8a5a00;
    border: 1px solid #ffe082;
    border-left: 4px solid #f9a825;
    border-radius: 8px;
    font-family: "Google Sans", Roboto, Arial, sans-serif;
    animation: ewd-error-fadein 0.25s ease-out;
}

.ewd-stripe-selection-changed-icon {
    width: 24px;
    height: 24px;
    background: #f9a825;
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
}

.ewd-stripe-selection-changed-text {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.25;
}

.ewd-stripe-selection-changed-title {
    font-size: 15px;
    font-weight: 600;
    color: #6b4500;
}

.ewd-stripe-selection-changed-hint {
    font-size: 12.5px;
    font-weight: 500;
    color: #8a5a00;
}

.ewd-stripe-selection-changed-amount {
    color: #6b4500;
    font-weight: 700;
}

.ewd-payment-success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(32, 33, 36, 0.55);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Google Sans", Roboto, Arial, sans-serif;
}

.ewd-payment-success-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px 32px;
    width: min(420px, 90vw);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    text-align: center;
}

.ewd-payment-success-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #0b8043;
    color: #fff;
    font-size: 30px;
    line-height: 56px;
    margin: 0 auto 16px;
    font-weight: 700;
}

.ewd-payment-success-title {
    font-size: 20px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 10px;
}

.ewd-payment-success-message {
    font-size: 14px;
    color: #5f6368;
    line-height: 1.5;
    margin-bottom: 22px;
}

.ewd-payment-success-button {
    background: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.15s ease;
}

.ewd-payment-success-button:hover {
    background: #1765cc;
}

.error-message-container {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff5f5;
    border: 1px solid #fecaca;
    border-left: 4px solid #dc2626;
    border-radius: 10px;
    padding: 14px 18px;
    margin: 12px 0;
    color: #202124;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.08);
    animation: ewd-error-fadein 0.25s ease-out;
}

.error-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: #dc2626;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    margin-top: 1px;
    font-family: "Google Sans", Roboto, Arial, sans-serif;
}

.error-content {
    flex: 1;
    min-width: 0;
}

.error-title {
    font-weight: 600;
    color: #b91c1c;
    margin-bottom: 4px;
    font-size: 14px;
    line-height: 1.3;
}

.error-body {
    color: #4b1f1f;
    line-height: 1.45;
    font-size: 13.5px;
}

.error-close {
    flex-shrink: 0;
    background: transparent;
    border: none;
    font-size: 22px;
    line-height: 1;
    color: #9ca3af;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: inherit;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.error-close:hover {
    background: rgba(0, 0, 0, 0.06);
    color: #374151;
}

.error-choices {
    margin: 8px 0;
}

.error-choice {
    margin: 4px 0;
    padding-left: 8px;
}

.error-footer {
    margin-top: 8px;
}

@keyframes ewd-error-fadein {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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