/* Pricing Page Light Theme Styles (Public Landing Page) */
.navbar {
    position: relative;
    background-color: #ffffff !important;
    border-bottom: 1px solid #e2e8f0;
}

.navbar-nav .nav-link {
    color: #1e293b !important;
}

.navbar-nav .nav-link:hover {
    color: #0d6efd !important;
}

.pricing-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #e2e8f0 !important;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08) !important;
}

.pricing-card-featured {
    border: 2px solid #0d6efd !important;
    position: relative;
}

.feature-badge-credit {
    background-color: #f1f5f9;
    color: #0f172a;
    font-weight: 600;
    font-size: 0.825rem;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.feature-badge-credit.highlight {
    background-color: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.feature-card-item {
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.feature-card-item:hover {
    background-color: #f8fafc !important;
    border-color: #cbd5e1 !important;
}

.accordion-button:not(.collapsed) {
    background-color: #f8fafc;
    color: #0d6efd;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #cbd5e1;
}

.accordion-item {
    border-color: #e2e8f0;
}

/* Pricing & Coupons Dashboard Styling */

.pc-container {
    max-width: 1240px;
    margin: 0 auto;
    width: 100%;
    min-width: 0;
}

/* Header Area */
.pc-header {
    margin-bottom: 2rem;
}

.pc-page-subtitle {
    color: #64748b;
    font-size: 0.925rem;
    line-height: 1.5;
}

.pc-info-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 0.45rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #475569;
}

.pc-info-pill svg {
    color: #2563eb;
}

/* Section Header */
.pc-section-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    margin-bottom: 1rem;
    margin-top: 1.75rem;
}

.pc-section-label svg {
    color: #94a3b8;
}

/* Layout Grid */
.pc-section-grid {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 100%;
}

.pc-section-grid > * {
    min-width: 0;
    max-width: 100%;
}

@media (max-width: 992px) {
    .pc-section-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.25rem;
    }
}

/* Base Card */
.pc-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03), 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    min-width: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.pc-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.08);
}

.pc-card-header {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.pc-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pc-icon-category {
    background: #eff6ff;
    color: #2563eb;
}

.pc-icon-coupon {
    background: #fdf2f8;
    color: #db2777;
}

.pc-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.2rem;
    letter-spacing: -0.01em;
}

.pc-card-desc {
    font-size: 0.825rem;
    color: #64748b;
    line-height: 1.45;
    margin-bottom: 0;
}

/* Forms */
.pc-form-group {
    margin-bottom: 1rem;
}

.pc-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.35rem;
}

.pc-input,
.pc-select {
    width: 100%;
    font-size: 0.875rem;
    padding: 0.6rem 0.85rem;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background-color: #ffffff;
    color: #1e293b;
    transition: all 0.2s ease;
}

.pc-input:focus,
.pc-select:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.pc-input-group {
    display: flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    transition: all 0.2s ease;
}

.pc-input-group:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.pc-input-prefix {
    padding: 0.6rem 0.85rem;
    font-size: 0.925rem;
    font-weight: 600;
    color: #64748b;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
}

.pc-input-group .pc-input {
    border: none;
    border-radius: 0;
    box-shadow: none !important;
}

.pc-btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    font-size: 0.875rem;
    font-weight: 600;
    background: #1e293b;
    color: #ffffff;
    border: none;
    padding: 0.7rem 1.25rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.pc-btn-submit:hover {
    background: #0f172a;
    transform: translateY(-1px);
    color: #ffffff;
}

/* Tables */
.pc-table-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03), 0 4px 12px rgba(0, 0, 0, 0.02);
    min-width: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.pc-table-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pc-table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.pc-table thead th {
    background: #f8fafc;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid #e2e8f0;
    border-top: none;
}

.pc-table tbody tr {
    transition: background-color 0.15s ease;
}

.pc-table tbody tr:hover {
    background-color: #f8fafc;
}

.pc-table tbody td {
    padding: 1rem 1.25rem;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.875rem;
    color: #334155;
}

.pc-table tbody tr:last-child td {
    border-bottom: none;
}

/* Drag Handle */
.handle {
    cursor: grab;
    color: #94a3b8;
    transition: color 0.15s ease;
}

.handle:hover {
    color: #2563eb;
}

.handle:active {
    cursor: grabbing;
}

/* Category & Coupon Pills */
.pc-tag-pill {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: #1e293b;
    font-size: 0.925rem;
}

.pc-price-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
}

.pc-price-free {
    display: inline-flex;
    padding: 0.25rem 0.6rem;
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pc-coupon-code {
    display: inline-flex;
    padding: 0.25rem 0.6rem;
    background: #fdf2f8;
    color: #be185d;
    border: 1px solid #fbcfe8;
    border-radius: 6px;
    font-family: monospace;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* Switch Controls */
.pc-table .form-switch {
    padding-left: 2.5em;
    margin-bottom: 0;
}

.pc-table .form-check-input {
    width: 40px;
    height: 22px;
    cursor: pointer;
    background-color: #cbd5e1;
    border: none;
    transition: all 0.2s ease;
}

.pc-table .form-check-input:checked {
    background-color: #2563eb;
}

/* Mobile Specific Optimizations */
@media (max-width: 768px) {
    .pc-card, .pc-table-card {
        padding: 1.25rem 1rem;
        border-radius: 14px;
    }
    .pc-table-header {
        padding: 1rem 1.25rem;
    }
    .pc-table thead th {
        padding: 0.75rem 1rem;
    }
    .pc-table tbody td {
        padding: 0.85rem 1rem;
    }
}

@media (max-width: 576px) {
    .pc-card {
        padding: 1rem 0.85rem;
        border-radius: 12px;
    }
    .pc-table-card {
        border-radius: 12px;
    }
    .pc-table thead th {
        padding: 0.65rem 0.75rem;
        font-size: 0.7rem;
    }
    .pc-table tbody td {
        padding: 0.75rem 0.75rem;
        font-size: 0.8125rem;
    }
}
