/**
 * Fambul Community — Frontend Styles
 */

/* === Variables === */
:root {
    --fc-primary: #2563eb;
    --fc-primary-hover: #1d4ed8;
    --fc-secondary: #64748b;
    --fc-success: #16a34a;
    --fc-danger: #dc2626;
    --fc-warning: #b45309;
    --fc-light: #f8fafc;
    --fc-border: #e2e8f0;
    --fc-text: #1e293b;
    --fc-text-muted: #64748b;
    --fc-radius: 8px;
    --fc-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --fc-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* === Buttons === */
.fc-btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: var(--fc-radius);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    line-height: 1.5;
}

.fc-btn-primary {
    background: var(--fc-primary);
    color: #fff;
    border-color: var(--fc-primary);
}

.fc-btn-primary:hover {
    background: var(--fc-primary-hover);
    border-color: var(--fc-primary-hover);
    color: #fff;
}

.fc-btn-secondary {
    background: var(--fc-secondary);
    color: #fff;
    border-color: var(--fc-secondary);
}

.fc-btn-outline {
    background: transparent;
    color: var(--fc-primary);
    border-color: var(--fc-primary);
}

.fc-btn-outline:hover {
    background: var(--fc-primary);
    color: #fff;
}

.fc-btn-danger {
    background: transparent;
    color: var(--fc-danger);
    border-color: var(--fc-danger);
}

.fc-btn-danger:hover {
    background: var(--fc-danger);
    color: #fff;
}

.fc-btn-full {
    display: block;
    width: 100%;
}

.fc-btn-small {
    padding: 6px 16px;
    font-size: 13px;
}

.fc-btn-disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

/* Focus styles for all interactive elements */
.fc-btn:focus-visible,
.fc-dashboard-tab:focus-visible,
.fc-quick-link:focus-visible,
.fc-social-link:focus-visible,
.fc-bookmark-btn:focus-visible,
.fc-level-option:focus-within {
    outline: 2px solid var(--fc-primary);
    outline-offset: 2px;
}

/* Plain fieldset (no browser chrome) */
.fc-fieldset-plain {
    border: none;
    padding: 0;
    margin: 0;
}

.fc-fieldset-plain legend {
    font-weight: 600;
    color: var(--fc-text);
    font-size: 14px;
    margin-bottom: 6px;
    padding: 0;
}

/* === Forms === */
.fc-form {
    max-width: 600px;
    margin: 0 auto;
}

.fc-form-field {
    margin-bottom: 20px;
}

.fc-form-field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--fc-text);
    font-size: 14px;
}

.fc-form-field label .required {
    color: var(--fc-danger);
}

.fc-form-field input[type="text"],
.fc-form-field input[type="email"],
.fc-form-field input[type="password"],
.fc-form-field input[type="tel"],
.fc-form-field input[type="url"],
.fc-form-field select,
.fc-form-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--fc-border);
    border-radius: var(--fc-radius);
    font-size: 14px;
    line-height: 1.5;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.fc-form-field input:focus,
.fc-form-field select:focus,
.fc-form-field textarea:focus {
    outline: none;
    border-color: var(--fc-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.fc-form-row-half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.fc-form-footer {
    text-align: center;
    margin-top: 16px;
    color: var(--fc-text-muted);
}

/* === Level Selector (Registration) === */
.fc-level-selector {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fc-level-option {
    display: flex;
    align-items: flex-start;
    padding: 16px;
    border: 2px solid var(--fc-border);
    border-radius: var(--fc-radius);
    cursor: pointer;
    transition: all 0.2s;
}

.fc-level-option:hover {
    border-color: var(--fc-primary);
    background: rgba(37, 99, 235, 0.02);
}

.fc-level-option.selected {
    border-color: var(--fc-primary);
    background: rgba(37, 99, 235, 0.05);
}

.fc-level-option input[type="radio"] {
    margin-top: 4px;
    margin-right: 12px;
}

.fc-level-option-content {
    flex: 1;
}

.fc-level-option-content strong {
    display: block;
    font-size: 16px;
}

.fc-level-price {
    color: var(--fc-primary);
    font-weight: 600;
    font-size: 14px;
}

.fc-level-desc {
    margin-top: 4px;
    color: var(--fc-text-muted);
    font-size: 13px;
}

/* === Pricing Table === */
.fc-pricing-table {
    display: grid;
    gap: 24px;
    margin: 32px 0;
}

.fc-columns-2 { grid-template-columns: repeat(2, 1fr); }
.fc-columns-3 { grid-template-columns: repeat(3, 1fr); }
.fc-columns-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
    .fc-pricing-table {
        grid-template-columns: 1fr;
    }
    .fc-form-row-half {
        grid-template-columns: 1fr;
    }
}

.fc-pricing-card {
    position: relative;
    background: #fff;
    border: 2px solid var(--fc-border);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: var(--fc-shadow);
}

.fc-pricing-card:hover {
    box-shadow: var(--fc-shadow-lg);
    transform: translateY(-2px);
}

.fc-pricing-card.fc-featured {
    border-color: var(--fc-primary);
}

.fc-pricing-card.fc-current-plan {
    border-color: var(--fc-success);
}

.fc-badge-ribbon {
    position: absolute;
    top: -1px;
    right: 20px;
    background: var(--fc-success);
    color: #fff;
    padding: 4px 12px;
    border-radius: 0 0 6px 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.fc-badge-featured {
    background: var(--fc-primary);
}

.fc-pricing-name {
    font-size: 20px;
    margin: 0 0 16px;
    color: var(--fc-text);
}

.fc-pricing-price {
    margin-bottom: 24px;
}

.fc-price-currency {
    font-size: 24px;
    font-weight: 700;
    vertical-align: super;
    color: var(--fc-text);
}

.fc-price-amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--fc-text);
    line-height: 1;
}

.fc-price-period {
    font-size: 16px;
    color: var(--fc-text-muted);
}

.fc-pricing-description {
    color: var(--fc-text-muted);
    font-size: 14px;
    margin-bottom: 16px;
}

.fc-trial-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.1);
    color: var(--fc-warning);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.fc-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    text-align: left;
}

.fc-features-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--fc-light);
    font-size: 14px;
    color: var(--fc-text);
}

.fc-features-list li::before {
    content: "✓";
    color: var(--fc-success);
    font-weight: 700;
    margin-right: 8px;
}

/* === Checkout === */
.fc-checkout-wrapper {
    max-width: 500px;
    margin: 32px auto;
}

.fc-checkout-summary {
    background: var(--fc-light);
    border: 1px solid var(--fc-border);
    border-radius: var(--fc-radius);
    padding: 24px;
    margin-bottom: 24px;
}

.fc-checkout-summary h3 {
    margin: 0 0 16px;
}

.fc-checkout-item {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 600;
}

.fc-checkout-trial {
    margin-top: 8px;
    color: var(--fc-warning);
    font-size: 14px;
}

.fc-checkout-note {
    text-align: center;
    color: var(--fc-text-muted);
    margin-top: 16px;
}

.fc-checkout-section {
    margin-top: 32px;
    padding: 24px;
    background: var(--fc-light);
    border-radius: var(--fc-radius);
    text-align: center;
}

/* === Account Page === */
.fc-account {
    max-width: 700px;
    margin: 0 auto;
}

.fc-account-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--fc-border);
}

.fc-account-avatar img {
    border-radius: 50%;
}

.fc-account-info h2 {
    margin: 0;
}

.fc-account-info p {
    margin: 4px 0 0;
    color: var(--fc-text-muted);
}

.fc-account-section {
    margin-bottom: 32px;
}

.fc-account-section h3 {
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--fc-border);
}

.fc-membership-card {
    background: var(--fc-light);
    border: 1px solid var(--fc-border);
    border-radius: var(--fc-radius);
    padding: 24px;
}

.fc-membership-level {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.fc-membership-level strong {
    font-size: 20px;
}

.fc-membership-price {
    font-size: 16px;
    color: var(--fc-primary);
    font-weight: 600;
    margin: 4px 0;
}

.fc-membership-date,
.fc-membership-expiry {
    font-size: 14px;
    color: var(--fc-text-muted);
    margin: 4px 0;
}

.fc-membership-actions {
    margin-top: 16px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

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

.fc-badge-active, .fc-badge-completed {
    background: rgba(22, 163, 74, 0.1);
    color: var(--fc-success);
}

.fc-badge-pending {
    background: rgba(245, 158, 11, 0.1);
    color: var(--fc-warning);
}

.fc-badge-cancelled, .fc-badge-refunded {
    background: rgba(100, 116, 139, 0.1);
    color: var(--fc-secondary);
}

.fc-badge-expired, .fc-badge-failed {
    background: rgba(220, 38, 38, 0.1);
    color: var(--fc-danger);
}

.fc-badge-suspended {
    background: rgba(220, 38, 38, 0.1);
    color: var(--fc-danger);
}

/* === Restricted Content === */
.fc-restricted-content {
    margin: 24px 0;
}

.fc-restricted-notice {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px solid var(--fc-border);
    border-radius: 12px;
    padding: 40px 32px;
    text-align: center;
}

.fc-restricted-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.fc-restricted-notice h3 {
    margin: 0 0 12px;
    font-size: 22px;
}

.fc-restricted-notice p {
    color: var(--fc-text-muted);
    margin-bottom: 20px;
}

.fc-restricted-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.fc-content-teaser {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px dashed var(--fc-border);
}

/* Inline restricted */
.fc-inline-restricted {
    background: var(--fc-light);
    border: 1px dashed var(--fc-border);
    border-radius: var(--fc-radius);
    padding: 16px 20px;
    text-align: center;
    margin: 16px 0;
}

/* === Notices === */
.fc-notice {
    padding: 16px 20px;
    border-radius: var(--fc-radius);
    margin-bottom: 20px;
    background: var(--fc-light);
    border: 1px solid var(--fc-border);
}

.fc-notice-success {
    background: rgba(22, 163, 74, 0.05);
    border-color: var(--fc-success);
}

.fc-notice-error {
    background: rgba(220, 38, 38, 0.05);
    border-color: var(--fc-danger);
}

/* Cancel subscription inline status */
.fc-cancel-status {
    margin-top: 12px;
}

.fc-cancel-status:empty {
    display: none;
}

.fc-subscription-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.fc-subscription-banner p {
    margin: 0;
    flex: 1;
}

.fc-errors {
    margin-bottom: 20px;
}

.fc-error {
    color: var(--fc-danger);
    font-size: 14px;
    padding: 8px 12px;
    background: rgba(220, 38, 38, 0.05);
    border-radius: var(--fc-radius);
    margin-bottom: 8px;
}

.fc-loading {
    color: var(--fc-text-muted);
    text-align: center;
    font-style: italic;
}

/* === Utilities === */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* === Table === */
.fc-table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.fc-table {
    width: 100%;
    border-collapse: collapse;
}

.fc-table th,
.fc-table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid var(--fc-border);
    font-size: 14px;
}

.fc-table th {
    font-weight: 600;
    background: var(--fc-light);
    color: var(--fc-text);
}

.fc-table tbody tr:hover {
    background: rgba(37, 99, 235, 0.02);
}

/* === Dashboard === */
.fc-dashboard {
    max-width: 800px;
    margin: 0 auto;
}

.fc-dashboard-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--fc-light);
    border-radius: var(--fc-radius);
    margin-bottom: 0;
    flex-wrap: wrap;
}

.fc-dashboard-avatar img {
    border-radius: 50%;
    width: 64px;
    height: 64px;
}

.fc-dashboard-user-info {
    flex: 1;
}

.fc-dashboard-user-info h2 {
    margin: 0;
    font-size: 22px;
}

.fc-dashboard-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.fc-dashboard-email {
    color: var(--fc-text-muted);
    font-size: 14px;
}

.fc-dashboard-nav {
    display: flex;
    border-bottom: 2px solid var(--fc-border);
    margin-bottom: 24px;
    overflow-x: auto;
}

.fc-dashboard-tab {
    padding: 12px 20px;
    font-weight: 600;
    font-size: 14px;
    color: var(--fc-text-muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
    transition: all 0.2s;
}

.fc-dashboard-tab:hover {
    color: var(--fc-primary);
}

.fc-dashboard-tab.active {
    color: var(--fc-primary);
    border-bottom-color: var(--fc-primary);
}

.fc-dashboard-content {
    min-height: 200px;
}

.fc-dashboard-section {
    margin-bottom: 32px;
}

.fc-dashboard-section h3 {
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--fc-border);
}

.fc-dashboard-footer {
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid var(--fc-border);
}

/* === Activity List === */
.fc-activity-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fc-activity-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--fc-light);
}

.fc-activity-item:last-child {
    border-bottom: none;
}

.fc-activity-icon {
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
}

.fc-activity-content {
    flex: 1;
}

.fc-activity-desc {
    display: block;
    font-size: 14px;
    color: var(--fc-text);
}

.fc-activity-time {
    display: block;
    font-size: 12px;
    color: var(--fc-text-muted);
    margin-top: 2px;
}

/* === Quick Links Grid === */
.fc-quick-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.fc-quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 12px;
    background: var(--fc-light);
    border: 1px solid var(--fc-border);
    border-radius: var(--fc-radius);
    text-decoration: none;
    color: var(--fc-text);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s;
}

.fc-quick-link:hover {
    border-color: var(--fc-primary);
    background: rgba(37, 99, 235, 0.03);
    color: var(--fc-primary);
}

.fc-quick-link-icon {
    font-size: 24px;
}

@media (max-width: 768px) {
    .fc-quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .fc-dashboard-header {
        flex-direction: column;
        text-align: center;
    }
    .fc-dashboard-header-actions {
        width: 100%;
    }
}

/* === Bookmark Button === */
.fc-bookmark-wrapper {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--fc-border);
}

.fc-bookmark-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid var(--fc-border);
    border-radius: 20px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    color: var(--fc-text-muted);
    transition: all 0.2s;
}

.fc-bookmark-btn:hover {
    border-color: var(--fc-danger);
    color: var(--fc-danger);
}

.fc-bookmark-btn.fc-bookmarked {
    background: rgba(220, 38, 38, 0.05);
    border-color: var(--fc-danger);
    color: var(--fc-danger);
}

.fc-bookmark-btn.fc-loading {
    opacity: 0.6;
    pointer-events: none;
}

.fc-bookmark-icon {
    font-size: 18px;
    line-height: 1;
}

.fc-bookmark-count {
    font-size: 12px;
    color: var(--fc-text-muted);
}

/* === Bookmarks Grid (Dashboard) === */
.fc-bookmarks-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fc-bookmark-card {
    display: flex;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--fc-border);
    border-radius: var(--fc-radius);
    transition: box-shadow 0.2s;
}

.fc-bookmark-card:hover {
    box-shadow: var(--fc-shadow);
}

.fc-bookmark-thumb {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
}

.fc-bookmark-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fc-bookmark-info {
    flex: 1;
    min-width: 0;
}

.fc-bookmark-info h4 {
    margin: 0 0 4px;
    font-size: 16px;
}

.fc-bookmark-info h4 a {
    color: var(--fc-text);
    text-decoration: none;
}

.fc-bookmark-info h4 a:hover {
    color: var(--fc-primary);
}

.fc-bookmark-excerpt {
    color: var(--fc-text-muted);
    font-size: 13px;
    margin: 4px 0;
}

.fc-bookmark-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    font-size: 12px;
    color: var(--fc-text-muted);
}

.fc-bookmark-remove {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .fc-bookmark-card {
        flex-direction: column;
    }
    .fc-bookmark-thumb {
        width: 100%;
        height: 150px;
    }
}

/* === Receipts === */
.fc-receipts-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fc-receipt-card {
    border: 1px solid var(--fc-border);
    border-radius: var(--fc-radius);
    overflow: hidden;
}

.fc-receipt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--fc-light);
}

.fc-receipt-date {
    font-size: 14px;
    font-weight: 600;
}

.fc-receipt-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
}

.fc-receipt-plan {
    font-size: 15px;
}

.fc-receipt-amount {
    font-size: 20px;
    font-weight: 700;
    color: var(--fc-text);
}

.fc-receipt-currency {
    font-size: 12px;
    color: var(--fc-text-muted);
    font-weight: 400;
}

.fc-receipt-footer {
    padding: 8px 16px;
    border-top: 1px solid var(--fc-border);
    font-size: 12px;
}

/* === Member Profile === */
.fc-profile {
    max-width: 700px;
    margin: 0 auto;
}

.fc-profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--fc-border);
}

.fc-profile-avatar img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
}

.fc-profile-name {
    margin: 0 0 4px;
    font-size: 28px;
}

.fc-profile-location {
    color: var(--fc-text-muted);
    font-size: 14px;
    margin: 4px 0;
}

.fc-profile-joined {
    color: var(--fc-text-muted);
    font-size: 13px;
    margin: 4px 0;
}

.fc-profile-section {
    margin-bottom: 28px;
}

.fc-profile-section h3 {
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--fc-border);
    font-size: 18px;
}

.fc-profile-bio {
    color: var(--fc-text);
    font-size: 15px;
    line-height: 1.7;
}

.fc-profile-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.fc-social-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border: 1px solid var(--fc-border);
    border-radius: 20px;
    text-decoration: none;
    color: var(--fc-text);
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
}

.fc-social-link:hover {
    border-color: var(--fc-primary);
    color: var(--fc-primary);
    background: rgba(37, 99, 235, 0.03);
}

.fc-profile-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .fc-profile-header {
        flex-direction: column;
        text-align: center;
    }
}

/* === Community Page === */
.fc-community-page {
    max-width: 900px;
    margin: 0 auto;
}

.fc-community-hero {
    text-align: center;
    padding: 48px 24px;
    margin-bottom: 40px;
}

.fc-community-heading {
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 16px;
    color: var(--fc-text);
}

.fc-community-subheading {
    font-size: 18px;
    color: var(--fc-text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.fc-community-content {
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 1.7;
}

.fc-community-benefits {
    margin-bottom: 48px;
}

.fc-community-benefits h3 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 24px;
}

.fc-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.fc-benefit-card {
    padding: 24px;
    border: 1px solid var(--fc-border);
    border-radius: var(--fc-radius);
    text-align: center;
    transition: box-shadow 0.2s;
}

.fc-benefit-card:hover {
    box-shadow: var(--fc-shadow-lg);
}

.fc-benefit-icon {
    font-size: 36px;
    display: block;
    margin-bottom: 12px;
}

.fc-benefit-card h4 {
    margin: 0 0 8px;
    font-size: 18px;
}

.fc-benefit-card p {
    color: var(--fc-text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.fc-community-pricing {
    margin-bottom: 48px;
}

.fc-community-pricing h3 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 24px;
}

.fc-community-cta {
    text-align: center;
    padding: 48px 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    margin-bottom: 24px;
}

.fc-community-cta h3 {
    font-size: 24px;
    margin: 0 0 12px;
}

.fc-community-cta p {
    color: var(--fc-text-muted);
    margin-bottom: 24px;
    font-size: 16px;
}

.fc-btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

@media (max-width: 768px) {
    .fc-benefits-grid {
        grid-template-columns: 1fr;
    }
    .fc-community-heading {
        font-size: 28px;
    }
}

/* === Empty State === */
.fc-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--fc-text-muted);
}

.fc-empty-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 12px;
}

/* === Pagination === */
.fc-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.fc-page-current,
.fc-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.fc-page-current {
    background: var(--fc-primary);
    color: #fff;
}

.fc-page-link {
    background: var(--fc-light);
    color: var(--fc-text);
    border: 1px solid var(--fc-border);
}

.fc-page-link:hover {
    border-color: var(--fc-primary);
    color: var(--fc-primary);
}

/* === Utilities === */
.fc-text-muted {
    color: var(--fc-text-muted);
}

.fc-count {
    font-weight: 400;
    font-size: 14px;
}

.fc-field-hint {
    font-size: 13px;
    color: var(--fc-text-muted);
    margin-top: 4px;
}

.fc-form-row-third {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

@media (max-width: 768px) {
    .fc-form-row-third {
        grid-template-columns: 1fr;
    }
}

/* === Subscribe Block === */
.fc-subscribe-block {
    max-width: 600px;
    margin: 32px auto;
}

.fc-subscribe-form-wrapper {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px solid var(--fc-border);
    border-radius: 12px;
    padding: 40px 32px;
    text-align: center;
}

.fc-subscribe-heading {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 700;
    color: var(--fc-text);
}

.fc-subscribe-description {
    color: var(--fc-text-muted);
    font-size: 15px;
    margin: 0 0 24px;
    line-height: 1.6;
}

.fc-subscribe-fields {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.fc-subscribe-field {
    flex: 1;
    min-width: 140px;
}

.fc-subscribe-field input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--fc-border);
    border-radius: var(--fc-radius);
    font-size: 14px;
    line-height: 1.5;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.fc-subscribe-field input:focus {
    outline: none;
    border-color: var(--fc-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.fc-subscribe-submit {
    flex: 0 0 auto;
}

.fc-subscribe-submit .fc-btn {
    padding: 12px 28px;
    white-space: nowrap;
}

.fc-subscribe-privacy {
    margin-top: 12px;
    color: var(--fc-text-muted);
    font-size: 12px;
}

.fc-subscribe-status {
    margin-top: 16px;
    text-align: left;
}

@media (max-width: 600px) {
    .fc-subscribe-fields {
        flex-direction: column;
    }
    .fc-subscribe-submit .fc-btn {
        width: 100%;
    }
}

/* === Gateway Selector (Checkout) === */
.fc-gateway-selector {
    margin-top: 24px;
}

.fc-gateway-options {
    display: flex;
    gap: 10px;
    margin: 12px 0 20px;
    flex-wrap: wrap;
}

.fc-gateway-option {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border: 2px solid var(--fc-border);
    border-radius: var(--fc-radius);
    cursor: pointer;
    transition: all 0.2s;
    flex: 1;
    min-width: 120px;
}

.fc-gateway-option:hover {
    border-color: var(--fc-primary);
}

.fc-gateway-option.fc-gateway-selected {
    border-color: var(--fc-primary);
    background: rgba(37, 99, 235, 0.05);
}

.fc-gateway-option input[type="radio"] {
    margin-right: 10px;
}

.fc-gateway-option-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fc-gateway-icon {
    font-size: 20px;
}

.fc-gateway-name {
    font-weight: 600;
    font-size: 14px;
}

.fc-gateway-panel {
    margin-top: 16px;
}

.fc-gateway-checkout {
    padding: 16px 0;
}

/* Square card container */
#fc-square-card-container {
    min-height: 89px;
    margin-bottom: 16px;
}

/* CashApp button container */
#fc-cashapp-button-container {
    min-height: 48px;
}

@media (max-width: 480px) {
    .fc-gateway-options {
        flex-direction: column;
    }
}
