.telebotify-pb-wrap {
    max-width: 900px;
    margin: 0 auto;
    direction: rtl;
}

.telebotify-pb-title {
    margin: 30px 0 15px;
    font-size: 18px;
}

.telebotify-pb-title small {
    font-weight: normal;
    color: #999;
    font-size: 13px;
}

.telebotify-pb-notice {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
}

.telebotify-pb-notice-info {
    background: #eef2ff;
    border-color: #667eea;
}

.telebotify-pb-empty {
    color: #999;
}

.telebotify-pb-plans,
.telebotify-pb-addons {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.telebotify-pb-plan-card,
.telebotify-pb-addon-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.telebotify-pb-plan-card:hover,
.telebotify-pb-addon-card:hover {
    border-color: #667eea;
    background: #f9fafb;
}

.telebotify-pb-plan-card input:checked ~ .telebotify-pb-plan-title,
.telebotify-pb-addon-card input:checked ~ .telebotify-pb-addon-title {
    color: #667eea;
}

.telebotify-pb-addon-card input:disabled {
    cursor: not-allowed;
}

.telebotify-pb-addon-card:has(input:disabled) {
    opacity: 0.5;
    cursor: not-allowed;
}

.telebotify-pb-plan-title,
.telebotify-pb-addon-title {
    font-weight: bold;
}

.telebotify-pb-plan-price,
.telebotify-pb-addon-price {
    color: #666;
    font-size: 13px;
}

.telebotify-pb-submit {
    display: block;
    margin-top: 30px;
    padding: 14px 30px;
    background: #667eea;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.telebotify-pb-submit:hover:not(:disabled) {
    background: #5568d3;
}

.telebotify-pb-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.telebotify-pb-result {
    display: none;
    margin-top: 15px;
    padding: 12px 15px;
    border-radius: 8px;
}

.telebotify-pb-result.telebotify-pb-success {
    background: #d1fae5;
    color: #065f46;
}

.telebotify-pb-result.telebotify-pb-error {
    background: #fee2e2;
    color: #991b1b;
}

/* Addon picker embedded on a plan's single product page (woocommerce_before_add_to_cart_button) */
.telebotify-product-addons {
    margin: 20px 0;
    padding: 15px;
    border: 2px dashed #e5e7eb;
    border-radius: 10px;
}

.telebotify-product-addons-title {
    font-weight: bold;
    margin-top: 0;
}
