/**
 * Belcho Membership Public Styles
 * Green/Lime design matching F7 theme
 */

:root {
    --belcho-primary: #c5d82d;
    --belcho-primary-dark: #a8ba1f;
    --belcho-bg: #c5d82d;
    --belcho-card-bg: #d4e157;
    --belcho-text: #1a1a1a;
    --belcho-text-light: #333333;
    --belcho-white: #ffffff;
    --belcho-success: #10b981;
    --belcho-error: #ef4444;
    --belcho-border: #b8c920;
    --belcho-radius: 4px;
}

/* Container */
.belcho-membership-form {
    max-width: 1100px !important;
    margin: 0 auto !important;
    padding: 30px 20px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    box-sizing: border-box !important;
}

/* Duration Tabs */
.belcho-membership-form .belcho-duration-tabs {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    background: #ffffff !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 50px !important;
    padding: 5px !important;
    margin: 0 auto 30px !important;
}

.belcho-step-1 {
    text-align: center;
}

/* Step Indicator */
.belcho-steps-indicator {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    margin-bottom: 40px !important;
}

.belcho-step-dot {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    border: 3px solid #1a1a1a !important;
    background: transparent !important;
    color: #1a1a1a !important;
    flex-shrink: 0 !important;
}

.belcho-step-dot.active,
.belcho-step-dot.completed {
    background: #1a1a1a !important;
    color: #ffffff !important;
}

.belcho-step-line {
    width: 100px !important;
    height: 3px !important;
    background: #1a1a1a !important;
    flex-shrink: 0 !important;
}

.belcho-step-line.active {
    background: #1a1a1a !important;
}

.belcho-membership-form .belcho-duration-tabs .belcho-duration-tab {
    padding: 20px 36px !important;
    border: none !important;
    background: transparent !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #b0b0b0 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-transform: uppercase !important;
    border-radius: 31px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    letter-spacing: 0.5px !important;
    line-height: 1 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

.belcho-membership-form .belcho-duration-tabs .belcho-duration-tab:hover {
    color: #808080 !important;
    background: transparent !important;
}

.belcho-membership-form .belcho-duration-tabs .belcho-duration-tab.active {
    background: #a4c639 !important;
    color: #000000 !important;
}

/* Hidden class */
.belcho-membership-form .belcho-packages-grid .belcho-package-card.belcho-hidden {
    display: none !important;
}

/* Package Grid */
.belcho-membership-form .belcho-packages-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 15px !important;
    margin-bottom: 20px !important;
    text-align: left !important;
}

@media (max-width: 900px) {
    .belcho-membership-form .belcho-packages-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px !important;
    }
}

@media (max-width: 700px) {
    .belcho-membership-form .belcho-packages-grid {
        grid-template-columns: 1fr !important;
        max-width: 350px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media (max-width: 768px) {
    .belcho-membership-form .belcho-duration-tabs {
        flex-wrap: wrap !important;
        justify-content: center !important;
        border-radius: 30px !important;
        gap: 4px !important;
        padding: 10px 15px !important;
    }

    .belcho-membership-form .belcho-duration-tab {
        padding: 10px 18px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 480px) {
    .belcho-membership-form .belcho-duration-tabs {
        flex-direction: column !important;
        border-radius: 20px !important;
        width: 100% !important;
        max-width: 260px !important;
        padding: 10px 15px !important;
    }

    .belcho-membership-form .belcho-duration-tab {
        padding: 12px 20px !important;
        border-radius: 16px !important;
        width: 100% !important;
        text-align: center !important;
    }
}

/* Package Card - Tag Style */
.belcho-membership-form .belcho-package-card {
    background: transparent !important;
    border: 1px solid #1a1a1a !important;
    border-radius: 0 !important;
    padding: 25px 20px !important;
    padding-top: 60px !important;
    cursor: pointer !important;
    transition: box-shadow 0.15s ease !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

/* Plan Badge */
.belcho-membership-form .belcho-plan-badge {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    background: var(--belcho-accent, #a4c639) !important;
    color: #1a1a1a !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    padding: 6px 12px !important;
    z-index: 10 !important;
}

/* Original price - strikethrough */
.belcho-membership-form .belcho-price-original {
    display: block !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-decoration: line-through !important;
}

/* BGN price display */
.belcho-membership-form .belcho-price-bgn {
    display: inline !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin-left: 4px !important;
}

/* Discounted price - larger */
.belcho-membership-form .belcho-price-amount.belcho-price-discounted {
    font-size: 24px !important;
    font-weight: 900 !important;
}

.belcho-membership-form .belcho-package-card:hover {
    box-shadow: inset 0 0 0 1px #1a1a1a !important;
}

.belcho-membership-form .belcho-package-card.selected {
    box-shadow: inset 0 0 0 2px #1a1a1a !important;
}

/* Tag hole - circle at top */
.belcho-membership-form .belcho-package-radio {
    position: absolute !important;
    top: 18px !important;
    left: 20px !important;
}

.belcho-membership-form .belcho-package-radio input[type="radio"] {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    width: 28px !important;
    height: 28px !important;
    border: 3px solid #1a1a1a !important;
    border-radius: 50% !important;
    background-color: transparent !important;
    cursor: pointer !important;
    position: relative !important;
    transition: background-color 0.15s ease !important;
    margin: 0 !important;
    padding: 0 !important;
}

.belcho-membership-form .belcho-package-card.selected .belcho-package-radio input[type="radio"],
.belcho-membership-form .belcho-package-radio input[type="radio"]:checked {
    background-color: #1a1a1a !important;
}

/* Package Name */
.belcho-membership-form .belcho-package-name {
    font-size: 32px !important;
    font-weight: 900 !important;
    color: #1a1a1a !important;
    margin: 0 0 5px !important;
    padding: 0 !important;
    text-transform: uppercase !important;
    letter-spacing: -1px !important;
    line-height: 1 !important;
}

/* Package Price */
.belcho-membership-form .belcho-package-price {
    margin: 0 0 15px !important;
    padding: 0 !important;
}

.belcho-membership-form .belcho-price-amount {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
}

.belcho-membership-form .belcho-price-period {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
}

/* Package Description */
.belcho-membership-form .belcho-package-description {
    font-family: manrope !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #333333 !important;
    flex-grow: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Featured Card (Premium) */
.belcho-package-featured {
    /* Could add special styling if needed */
}

/* Next Button */
.belcho-membership-form .belcho-next-btn-wrapper {
    display: flex !important;
    justify-content: flex-end !important;
    margin-top: 15px !important;
    text-align: right !important;
}

.belcho-membership-form .belcho-btn-next {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: transparent !important;
    border: none !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    color: #1a1a1a !important;
    cursor: pointer !important;
    padding: 10px 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin: 0 !important;
}

.belcho-membership-form .belcho-btn-next:hover {
    opacity: 0.8 !important;
}

.belcho-membership-form .belcho-btn-next svg {
    width: 24px !important;
    height: 24px !important;
}

/* Step 2 - Payment Form */
.belcho-membership-form .belcho-step-2 {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 20px 0 !important;
    max-width: none !important;
    margin: 0 !important;
}

.belcho-step-header {
    margin-bottom: 30px;
}

.belcho-step-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--belcho-text);
    margin: 10px 0 0;
}

/* Back Button */
.belcho-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
    background: transparent;
    border: none;
    color: var(--belcho-text-light);
    font-size: 14px;
    cursor: pointer;
    transition: color 0.2s;
}

.belcho-back-btn:hover {
    color: var(--belcho-text);
}

.belcho-back-btn svg {
    width: 18px;
    height: 18px;
}

/* Order Summary */
.belcho-order-summary {
    background: #f5f5f5;
    border-radius: var(--belcho-radius);
    padding: 20px;
    margin-bottom: 30px;
}

.belcho-order-summary h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--belcho-text);
    margin: 0 0 15px;
}

.belcho-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.belcho-summary-label {
    color: var(--belcho-text-light);
}

.belcho-summary-value {
    font-weight: 500;
    color: var(--belcho-text);
}

.belcho-summary-total {
    border-top: 1px solid #ddd;
    margin-top: 10px;
    padding-top: 15px;
    font-size: 16px;
}

.belcho-summary-total .belcho-summary-value {
    font-size: 20px;
    font-weight: 700;
}

/* Form Sections */
.belcho-form-section {
    margin-bottom: 25px;
}

.belcho-form-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--belcho-text);
    margin: 0 0 15px;
}

.belcho-form-row {
    margin-bottom: 15px;
}

.belcho-form-row label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--belcho-text);
    margin-bottom: 6px;
}

.belcho-form-row label .required {
    color: var(--belcho-error);
}

.belcho-form-row input[type="text"],
.belcho-form-row input[type="email"] {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    border: 1px solid #ddd;
    border-radius: var(--belcho-radius);
    background: var(--belcho-white);
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.belcho-form-row input:focus {
    outline: none;
    border-color: var(--belcho-primary);
    box-shadow: 0 0 0 3px rgba(197, 216, 45, 0.2);
}

/* Payment Element */
#payment-element {
    min-height: 200px;
}

.belcho-loading {
    padding: 40px;
    text-align: center;
    color: #666;
}

.belcho-payment-section {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

#payment-errors,
.belcho-error-message {
    color: var(--belcho-error);
    font-size: 13px;
    margin-top: 8px;
}

/* Coupon */
.belcho-coupon-toggle button {
    background: none;
    border: none;
    color: var(--belcho-primary-dark);
    font-size: 14px;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

.belcho-coupon-toggle button:hover {
    color: var(--belcho-text);
}

.belcho-coupon-input {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.belcho-coupon-input input {
    flex: 1;
    padding: 10px 14px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: var(--belcho-radius);
}

.belcho-coupon-message {
    margin-top: 8px;
    font-size: 13px;
}

.belcho-coupon-message.success {
    color: var(--belcho-success);
}

.belcho-coupon-message.error {
    color: var(--belcho-error);
}

/* Checkbox */
.belcho-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--belcho-text);
    cursor: pointer;
}

.belcho-checkbox-label input {
    margin-top: 3px;
    accent-color: var(--belcho-primary);
}

.belcho-checkbox-label a {
    color: #1a1a1a !important;
    text-decoration: underline;
}

.belcho-checkbox-label a:hover {
    opacity: 0.7;
}

.belcho-checkbox-label .optional {
    color: #888;
    font-size: 12px;
    font-weight: normal;
}

.belcho-checkbox-label .required {
    color: #ef4444;
    font-weight: bold;
}

.belcho-consents-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Logged In Notice */
.belcho-logged-in-notice {
    background: #f5f5f5;
    padding: 15px;
    border-radius: var(--belcho-radius);
    margin-bottom: 20px;
}

.belcho-logged-in-notice p {
    margin: 0;
    font-size: 14px;
}

/* Buttons */
.belcho-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--belcho-radius);
    cursor: pointer;
    transition: all 0.2s;
}

.belcho-btn-primary {
    background: var(--belcho-text);
    color: var(--belcho-white);
}

.belcho-btn-primary:hover {
    background: #333;
}

.belcho-btn-secondary {
    background: #f5f5f5;
    color: var(--belcho-text);
}

.belcho-btn-secondary:hover {
    background: #e5e5e5;
}

.belcho-btn-large {
    padding: 16px 32px;
    font-size: 16px;
    width: 100%;
}

.belcho-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Secure Notice */
.belcho-secure-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 13px;
    color: var(--belcho-text-light);
}

.belcho-secure-notice svg {
    width: 16px;
    height: 16px;
}

/* Spinner */
.belcho-spinner {
    width: 20px;
    height: 20px;
    animation: belcho-spin 1s linear infinite;
}

.belcho-spinner .spinner-circle {
    stroke-dasharray: 50;
    stroke-dashoffset: 20;
}

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

/* Success Message */
.belcho-success-message {
    text-align: center;
    padding: 60px 20px;
    background: var(--belcho-white);
    border-radius: var(--belcho-radius);
    max-width: 500px;
    margin: 0 auto;
}

.belcho-success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    color: var(--belcho-success);
}

.belcho-success-icon svg {
    width: 100%;
    height: 100%;
}

.belcho-success-message h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--belcho-text);
    margin: 0 0 15px;
}

.belcho-success-message p {
    font-size: 16px;
    color: var(--belcho-text-light);
    margin: 0 0 25px;
}

/* Notices */
.belcho-notice {
    padding: 15px 20px;
    border-radius: var(--belcho-radius);
    margin-bottom: 20px;
}

.belcho-notice-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.belcho-notice-warning {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.belcho-notice-info {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

/* Form Actions - Submit Button */
.belcho-form-actions {
    margin-top: 25px !important;
    margin-bottom: 10px !important;
}

.belcho-form-actions .belcho-btn {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.belcho-form-actions #submit-button {
    width: 100% !important;
    padding: 18px 32px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    background: #1a1a1a !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
}

.belcho-form-actions #submit-button:hover {
    background: #333333 !important;
}

.belcho-form-actions #submit-button:disabled {
    background: #999999 !important;
    cursor: not-allowed !important;
}

/* Terms Link */
.belcho-terms-link {
    font-weight: 700 !important;
}

.belcho-checkbox-label span {
    line-height: 1.5;
}

/* ========================= */
/* Member Dashboard Styles   */
/* ========================= */

.belcho-dashboard {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.belcho-dashboard-header {
    margin-bottom: 30px;
}

.belcho-dashboard-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--belcho-text);
    margin: 0 0 10px;
}

.belcho-dashboard-welcome {
    color: var(--belcho-text-light);
    font-size: 16px;
    margin: 0;
}

.belcho-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .belcho-dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.belcho-dashboard-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.belcho-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.belcho-card-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--belcho-text);
}

.belcho-card-content {
    padding: 20px;
}

.belcho-card-actions {
    padding: 15px 20px;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
}

/* Plan Info */
.belcho-plan-info {
    margin-bottom: 20px;
}

.belcho-plan-name {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.belcho-plan-name strong {
    font-size: 18px;
}

.belcho-plan-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--belcho-text);
}

.belcho-plan-period {
    font-size: 14px;
    font-weight: 400;
    color: var(--belcho-text-light);
}

.belcho-plan-features {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
}

.belcho-plan-features strong {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
}

.belcho-plan-features ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.belcho-plan-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 14px;
    color: var(--belcho-text-light);
}

.belcho-plan-features li svg {
    color: var(--belcho-success);
    flex-shrink: 0;
}

/* Billing Info */
.belcho-billing-info {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
}

.belcho-billing-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.belcho-billing-row span {
    color: var(--belcho-text-light);
}

.belcho-billing-row strong {
    color: var(--belcho-text);
}

.belcho-cancel-notice {
    color: #dc2626 !important;
}

.belcho-cancel-notice span,
.belcho-cancel-notice strong {
    color: #dc2626 !important;
}

/* Payment Method */
.belcho-card-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f9fafb;
    border-radius: 6px;
}

.belcho-card-brand {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--belcho-text);
}

.belcho-card-last4 {
    font-family: monospace;
    font-size: 14px;
    color: var(--belcho-text-light);
}

.belcho-card-expiry {
    font-size: 13px;
    color: var(--belcho-text-light);
}

/* Invoice Table */
.belcho-invoices-table,
.belcho-history-table {
    width: 100%;
    border-collapse: collapse;
}

.belcho-invoices-table th,
.belcho-invoices-table td,
.belcho-history-table th,
.belcho-history-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
}

.belcho-invoices-table th,
.belcho-history-table th {
    font-weight: 600;
    color: var(--belcho-text);
    background: #f9fafb;
}

.belcho-invoice-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--belcho-primary-dark);
    text-decoration: none;
    font-weight: 500;
}

.belcho-invoice-link:hover {
    text-decoration: underline;
}

/* Empty State */
.belcho-empty-state {
    text-align: center;
    padding: 40px 20px;
}

.belcho-empty-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    color: #9ca3af;
}

.belcho-empty-icon svg {
    width: 100%;
    height: 100%;
}

.belcho-empty-state h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--belcho-text);
    margin: 0 0 10px;
}

.belcho-empty-state p {
    color: var(--belcho-text-light);
    margin: 0 0 20px;
}

/* Buttons */
.belcho-btn-outline {
    background: transparent;
    border: 1px solid #d1d5db;
    color: var(--belcho-text);
}

.belcho-btn-outline:hover {
    background: #f3f4f6;
}

.belcho-btn-danger {
    background: #dc2626;
    color: #ffffff;
}

.belcho-btn-danger:hover {
    background: #b91c1c;
}

/* Modal */
.belcho-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.belcho-modal-content {
    background: #ffffff;
    border-radius: 8px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.belcho-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.belcho-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.belcho-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6b7280;
    padding: 0;
    line-height: 1;
}

.belcho-modal-close:hover {
    color: var(--belcho-text);
}

.belcho-modal-body {
    padding: 20px;
}

.belcho-modal-body p {
    margin: 0 0 10px;
}

.belcho-modal-body .description {
    color: var(--belcho-text-light);
    font-size: 14px;
}

.belcho-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 15px 20px;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
}

/* ========================= */
/* Content Restriction       */
/* ========================= */

.belcho-restricted-content {
    text-align: center;
    padding: 40px 20px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin: 20px 0;
}

.belcho-restricted-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    color: #9ca3af;
}

.belcho-restricted-icon svg {
    width: 100%;
    height: 100%;
}

.belcho-restricted-message {
    font-size: 16px;
    color: var(--belcho-text);
    margin: 0 0 20px;
}

.belcho-restricted-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* Badges */
.belcho-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.belcho-badge-success {
    background: #d1fae5;
    color: #065f46;
}

.belcho-badge-warning {
    background: #fef3c7;
    color: #92400e;
}

.belcho-badge-default {
    background: #f3f4f6;
    color: #374151;
}

.belcho-badge-basic {
    background: #e0e7ff;
    color: #3730a3;
}

.belcho-badge-premium {
    background: #fce7f3;
    color: #9d174d;
}

.belcho-badge-platinum {
    background: #f3e8ff;
    color: #6b21a8;
}

/* =========================================
   Questionnaire Form Styles
   ========================================= */

.belcho-questionnaire-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.belcho-form-section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
}

.belcho-form-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--belcho-primary);
}

.belcho-form-row {
    margin-bottom: 20px;
}

.belcho-form-row:last-child {
    margin-bottom: 0;
}

.belcho-form-row > label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

.belcho-form-row > label .required {
    color: #ef4444;
}

.belcho-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .belcho-form-grid {
        grid-template-columns: 1fr;
    }
}

.belcho-questionnaire-form input[type="text"],
.belcho-questionnaire-form input[type="email"],
.belcho-questionnaire-form input[type="tel"],
.belcho-questionnaire-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.belcho-questionnaire-form input[type="text"]:focus,
.belcho-questionnaire-form input[type="email"]:focus,
.belcho-questionnaire-form input[type="tel"]:focus,
.belcho-questionnaire-form textarea:focus {
    outline: none;
    border-color: var(--belcho-primary);
    box-shadow: 0 0 0 3px rgba(197, 216, 45, 0.2);
}

.belcho-questionnaire-form textarea {
    resize: vertical;
    min-height: 100px;
}

.belcho-field-hint {
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 12px 0;
}

/* Radio and Checkbox Groups */
.belcho-radio-group,
.belcho-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.belcho-radio-inline {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
}

.belcho-radio-label,
.belcho-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    padding: 10px 14px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    transition: all 0.2s;
}

.belcho-radio-inline .belcho-radio-label {
    padding: 8px 16px;
}

.belcho-radio-label:hover,
.belcho-checkbox-label:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.belcho-radio-label input,
.belcho-checkbox-label input {
    margin-top: 2px;
    accent-color: var(--belcho-primary-dark);
}

.belcho-radio-label input:checked + span,
.belcho-checkbox-label input:checked + span {
    color: #1a1a1a;
    font-weight: 500;
}

.belcho-radio-label:has(input:checked),
.belcho-checkbox-label:has(input:checked) {
    background: rgba(197, 216, 45, 0.15);
    border-color: var(--belcho-primary);
}

.belcho-terms-checkbox {
    background: #fffbeb;
    border-color: #fcd34d;
}

.belcho-terms-checkbox:has(input:checked) {
    background: #d1fae5;
    border-color: #10b981;
}

/* File Upload */
.belcho-file-upload-area {
    margin-top: 8px;
}

.belcho-file-dropzone {
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    background: #fafafa;
    transition: all 0.2s;
    cursor: pointer;
}

.belcho-file-dropzone:hover,
.belcho-file-dropzone.dragging {
    border-color: var(--belcho-primary);
    background: rgba(197, 216, 45, 0.05);
}

.belcho-file-dropzone svg {
    color: #9ca3af;
    margin-bottom: 12px;
}

.belcho-file-dropzone p {
    color: #6b7280;
    margin: 0 0 16px 0;
    font-size: 14px;
}

.belcho-file-list {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.belcho-file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
}

.belcho-file-item.uploading {
    background: #fff;
}

.belcho-file-item.uploaded {
    background: #f0fdf4;
    border-color: #86efac;
}

.belcho-file-icon {
    flex-shrink: 0;
    color: #6b7280;
}

.belcho-file-info {
    flex: 1;
    min-width: 0;
}

.belcho-file-name {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.belcho-file-size {
    font-size: 12px;
    color: #9ca3af;
}

.belcho-file-progress {
    margin-top: 8px;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
}

.belcho-file-progress-bar {
    height: 100%;
    background: var(--belcho-primary);
    border-radius: 2px;
    transition: width 0.2s;
    width: 0;
}

.belcho-file-remove {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border: none;
    background: #fee2e2;
    color: #dc2626;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    transition: background 0.2s;
}

.belcho-file-remove:hover {
    background: #fecaca;
}

/* Form Actions */
.belcho-form-actions {
    text-align: center;
    margin-top: 30px;
}

.belcho-btn-large {
    padding: 16px 48px !important;
    font-size: 16px !important;
}

/* Form Messages */
.belcho-form-message {
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: 6px;
    font-size: 14px;
}

.belcho-form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #86efac;
}

.belcho-form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Questionnaire Success */
.belcho-questionnaire-form .belcho-success-message {
    text-align: center;
    padding: 60px 20px;
}

.belcho-questionnaire-form .belcho-success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: #d1fae5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.belcho-questionnaire-form .belcho-success-icon svg {
    width: 40px;
    height: 40px;
    color: #10b981;
}

.belcho-questionnaire-form .belcho-success-message h2 {
    font-size: 24px;
    color: #1a1a1a;
    margin: 0 0 12px 0;
}

.belcho-questionnaire-form .belcho-success-message p {
    color: #6b7280;
    font-size: 16px;
    margin: 0;
    max-width: 500px;
    margin: 0 auto;
}
