/* Pricing Table Block Styles */
.wp-block-statusdrift-pricing-table {
    padding: 6rem 0;
    background: #f9fafb;
}

.wp-block-statusdrift-pricing-table .pricing-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.wp-block-statusdrift-pricing-table .pricing-header h2 {
    margin-bottom: 0.5rem;
}

.wp-block-statusdrift-pricing-table .pricing-header p {
    color: #6b7280;
    margin-bottom: 2rem;
}

.wp-block-statusdrift-pricing-table .pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.wp-block-statusdrift-pricing-table .pricing-toggle-btn {
    background: none;
    border: none;
    font-size: 1rem;
    color: #6b7280;
    cursor: pointer;
    transition: color 0.15s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wp-block-statusdrift-pricing-table .pricing-toggle-btn.active {
    color: #111827;
    font-weight: 600;
}

.wp-block-statusdrift-pricing-table .pricing-save {
    background: #dcfce7;
    color: #166534;
    font-size: 0.75rem;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-weight: 600;
}

.wp-block-statusdrift-pricing-table .pricing-toggle-switch {
    width: 48px;
    height: 24px;
    background: #d1d5db;
    border-radius: 9999px;
    position: relative;
    cursor: pointer;
    transition: background 0.2s ease;
}

.wp-block-statusdrift-pricing-table .pricing-toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.wp-block-statusdrift-pricing-table .pricing-toggle-switch.annual {
    background: #8B5CF6;
}

.wp-block-statusdrift-pricing-table .pricing-toggle-switch.annual::after {
    transform: translateX(24px);
}

/* Main pricing grid - 3 columns */
.wp-block-statusdrift-pricing-table .pricing-grid--main {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
    margin-bottom: 2rem;
}

@media (max-width: 1024px) {
    .wp-block-statusdrift-pricing-table .pricing-grid--main {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .wp-block-statusdrift-pricing-table .pricing-grid--main {
        grid-template-columns: 1fr;
    }
}

/* Pricing card styles */
.wp-block-statusdrift-pricing-table .pricing-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.2s ease;
}

.wp-block-statusdrift-pricing-table .pricing-card:hover {
    box-shadow: 0 10px 25px -5px rgb(0 0 0 / 0.1);
    transform: translateY(-2px);
}

.wp-block-statusdrift-pricing-table .pricing-card--featured {
    border-color: #8B5CF6;
    box-shadow: 0 0 0 2px #8B5CF6, 0 20px 25px -5px rgb(0 0 0 / 0.1);
    transform: scale(1.02);
    z-index: 1;
}

.wp-block-statusdrift-pricing-table .pricing-card--featured:hover {
    transform: scale(1.02) translateY(-2px);
}

.wp-block-statusdrift-pricing-table .pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #8B5CF6;
    color: #fff;
    padding: 4px 16px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.wp-block-statusdrift-pricing-table .pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #111827;
}

.wp-block-statusdrift-pricing-table .pricing-card-description {
    color: #6b7280;
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.wp-block-statusdrift-pricing-table .pricing-price {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.wp-block-statusdrift-pricing-table .pricing-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
}

.wp-block-statusdrift-pricing-table .pricing-period {
    color: #6b7280;
    font-size: 0.9375rem;
}

.wp-block-statusdrift-pricing-table .pricing-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.wp-block-statusdrift-pricing-table .pricing-amount-wrapper {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
}

.wp-block-statusdrift-pricing-table .pricing-amount-strikethrough {
    font-size: 1.25rem;
    font-weight: 500;
    color: #9ca3af;
    text-decoration: line-through;
}

.wp-block-statusdrift-pricing-table .pricing-billed-yearly {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.375rem;
}

/* Monitor slider */
.wp-block-statusdrift-pricing-table .pricing-monitor-selector {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    background: #f9fafb;
    border-radius: 0.5rem;
}

.wp-block-statusdrift-pricing-table .pricing-slider-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.wp-block-statusdrift-pricing-table .pricing-slider-header label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.wp-block-statusdrift-pricing-table .pricing-monitor-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #8B5CF6;
}

.wp-block-statusdrift-pricing-table .pricing-slider-wrapper {
    position: relative;
}

.wp-block-statusdrift-pricing-table .pricing-monitor-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, #8B5CF6 var(--slider-percent, 0%), #e5e7eb var(--slider-percent, 0%));
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.wp-block-statusdrift-pricing-table .pricing-monitor-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #8B5CF6;
    border: 3px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(139, 92, 246, 0.4);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.wp-block-statusdrift-pricing-table .pricing-monitor-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 10px rgba(139, 92, 246, 0.5);
}

.wp-block-statusdrift-pricing-table .pricing-monitor-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #8B5CF6;
    border: 3px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(139, 92, 246, 0.4);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.wp-block-statusdrift-pricing-table .pricing-monitor-slider::-moz-range-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 10px rgba(139, 92, 246, 0.5);
}

.wp-block-statusdrift-pricing-table .pricing-slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    padding: 0 2px;
}

.wp-block-statusdrift-pricing-table .pricing-slider-labels span {
    font-size: 0.75rem;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.15s ease;
    user-select: none;
}

.wp-block-statusdrift-pricing-table .pricing-slider-labels span:hover {
    color: #6b7280;
}

.wp-block-statusdrift-pricing-table .pricing-slider-labels span.active {
    color: #8B5CF6;
    font-weight: 600;
}

/* Featured card slider styling */
.wp-block-statusdrift-pricing-table .pricing-card--featured .pricing-monitor-selector {
    background: rgba(139, 92, 246, 0.05);
}

/* Feature list with proper spacing */
.wp-block-statusdrift-pricing-table .pricing-features {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
    flex-grow: 1;
}

.wp-block-statusdrift-pricing-table .pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    color: #374151;
    line-height: 1.5;
    padding-right: 0.5rem;
}

.wp-block-statusdrift-pricing-table .pricing-features li svg {
    width: 20px;
    height: 20px;
    color: #10b981;
    flex-shrink: 0;
    margin-top: 1px;
}

.wp-block-statusdrift-pricing-table .pricing-card .btn {
    width: 100%;
    text-align: center;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
}

/* Enterprise card - full width below */
.wp-block-statusdrift-pricing-table .pricing-enterprise {
    margin-top: 1rem;
}

.wp-block-statusdrift-pricing-table .pricing-card--enterprise {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border: none;
    color: #fff;
    padding: 2.5rem;
}

.wp-block-statusdrift-pricing-table .pricing-card--enterprise:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -10px rgb(0 0 0 / 0.3);
}

.wp-block-statusdrift-pricing-table .pricing-enterprise-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 1024px) {
    .wp-block-statusdrift-pricing-table .pricing-enterprise-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
}

.wp-block-statusdrift-pricing-table .pricing-enterprise-info h3 {
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.wp-block-statusdrift-pricing-table .pricing-card--enterprise .pricing-card-description {
    color: #9ca3af;
    margin-bottom: 1rem;
}

.wp-block-statusdrift-pricing-table .pricing-card--enterprise .pricing-price {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.wp-block-statusdrift-pricing-table .pricing-card--enterprise .pricing-amount {
    color: #fff;
    font-size: 2rem;
}

.wp-block-statusdrift-pricing-table .pricing-card--enterprise .pricing-period {
    color: #9ca3af;
}

/* Horizontal feature list for enterprise */
.wp-block-statusdrift-pricing-table .pricing-features--horizontal {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 2rem;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .wp-block-statusdrift-pricing-table .pricing-features--horizontal {
        grid-template-columns: 1fr;
    }
}

.wp-block-statusdrift-pricing-table .pricing-card--enterprise .pricing-features li {
    color: #d1d5db;
    margin-bottom: 0.5rem;
}

.wp-block-statusdrift-pricing-table .pricing-card--enterprise .pricing-features li svg {
    color: #8B5CF6;
}

.wp-block-statusdrift-pricing-table .pricing-card--enterprise .btn {
    width: auto;
    background: #fff;
    color: #111827;
    border: none;
    padding: 1rem 2rem;
}

.wp-block-statusdrift-pricing-table .pricing-card--enterprise .btn:hover {
    background: #f3f4f6;
    color: #111827;
}

@media (max-width: 1024px) {
    .wp-block-statusdrift-pricing-table .pricing-card--enterprise .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}
