/* Portal CSS - Boundless Books */

/* Variables */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #64748b;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;

    --text: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;

    --bg: #f8fafc;
    --bg-white: #ffffff;
    --bg-dark: #1e293b;

    --border: #e2e8f0;
    --border-dark: #cbd5e1;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 6px rgba(0, 0, 0, 0.1);

    --radius: 8px;
    --radius-lg: 12px;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Base */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text);
    background: var(--bg);
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Auth Pages */
.auth-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-container {
    width: 100%;
    max-width: 400px;
}

.auth-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.auth-logo .logo-icon {
    font-size: 1.5rem;
}

.auth-header h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--text-muted);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: var(--border);
}

.auth-divider span {
    background: var(--bg-white);
    padding: 0 1rem;
    position: relative;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-muted);
}

/* Portal Layout */
.portal-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.portal-nav {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    height: 64px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-brand a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text);
    font-weight: 600;
}

.nav-menu {
    display: flex;
    gap: 0.5rem;
    margin-left: 2rem;
}

.nav-link {
    padding: 0.5rem 1rem;
    color: var(--text-muted);
    border-radius: var(--radius);
    transition: background 0.2s, color 0.2s;
}

.nav-link:hover {
    background: var(--bg);
    color: var(--text);
    text-decoration: none;
}

.nav-link.active {
    background: var(--primary);
    color: white;
}

.nav-user {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-dropdown {
    position: relative;
}

.user-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius);
}

.user-dropdown-toggle:hover {
    background: var(--bg);
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.user-dropdown-menu {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 0.5rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    display: none;
}

.user-dropdown:hover .user-dropdown-menu,
.user-dropdown:focus-within .user-dropdown-menu {
    display: block;
}

.user-dropdown-menu a,
.user-dropdown-menu button {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    text-align: left;
    color: var(--text);
    background: none;
    border: none;
    cursor: pointer;
}

.user-dropdown-menu a:hover,
.user-dropdown-menu button:hover {
    background: var(--bg);
    text-decoration: none;
}

.user-dropdown-menu hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0.5rem 0;
}

/* Impersonation Bar */
.impersonation-bar {
    background: var(--warning);
    color: var(--bg-dark);
    padding: 0.5rem 1.5rem;
}

.impersonation-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.impersonation-icon {
    font-size: 1.25rem;
}

.btn-stop-impersonate {
    background: rgba(0, 0, 0, 0.1);
    border: none;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.875rem;
}

.btn-stop-impersonate:hover {
    background: rgba(0, 0, 0, 0.2);
}

/* Main Content */
.portal-main {
    flex: 1;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Footer */
.portal-footer {
    padding: 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    border-top: 1px solid var(--border);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

/* Page Header */
.page-header {
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--text-muted);
}

.page-header.centered {
    text-align: center;
}

.header-content {
    flex: 1;
}

.header-actions {
    display: flex;
    gap: 0.5rem;
}

.back-link {
    display: inline-block;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

/* Cards */
.card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.card-subtitle {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

/* Grids */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.875rem;
}

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

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group input.readonly {
    background: var(--bg);
    color: var(--text-muted);
}

.form-hint {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input {
    width: auto;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.radio-label input {
    width: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    text-decoration: none;
}

.btn-secondary {
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--border);
    text-decoration: none;
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-apple {
    background: black;
    color: white;
}

.btn-full {
    width: 100%;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.data-table th {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.data-table tbody tr:hover {
    background: var(--bg);
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}

.status-open, .status-active {
    background: #dbeafe;
    color: #1d4ed8;
}

.status-in_progress {
    background: #fef3c7;
    color: #b45309;
}

.status-waiting_customer {
    background: #f3e8ff;
    color: #7c3aed;
}

.status-resolved, .status-closed, .status-completed {
    background: #dcfce7;
    color: #15803d;
}

.priority-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius);
    font-size: 0.75rem;
    font-weight: 500;
}

.priority-low {
    background: #f1f5f9;
    color: #64748b;
}

.priority-normal {
    background: #dbeafe;
    color: #1d4ed8;
}

.priority-high {
    background: #fef3c7;
    color: #b45309;
}

.priority-urgent {
    background: #fee2e2;
    color: #dc2626;
}

.tier-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
}

.tier-free {
    background: var(--bg);
    color: var(--text-muted);
}

.tier-family {
    background: #dbeafe;
    color: #1d4ed8;
}

.tier-family_plus {
    background: #f3e8ff;
    color: #7c3aed;
}

/* Messages */
.messages-container {
    padding: 0 1.5rem;
}

.message {
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.message-success {
    background: #dcfce7;
    color: #15803d;
}

.message-error {
    background: #fee2e2;
    color: #dc2626;
}

.message-info {
    background: #dbeafe;
    color: #1d4ed8;
}

.message-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0.5;
}

.message-close:hover {
    opacity: 1;
}

/* Empty States */
.empty-state {
    color: var(--text-muted);
    text-align: center;
    padding: 2rem;
}

.empty-state-full {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state-full .empty-icon,
.empty-state-full .empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Settings Layout */
.settings-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
}

.settings-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.settings-nav .nav-item {
    padding: 0.75rem 1rem;
    color: var(--text-muted);
    border-radius: var(--radius);
}

.settings-nav .nav-item:hover {
    background: var(--bg);
    text-decoration: none;
}

.settings-nav .nav-item.active {
    background: var(--primary);
    color: white;
}

.settings-content {
    min-width: 0;
}

/* Danger Zone */
.danger-zone {
    border: 2px solid var(--danger);
}

.warning-box {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #fef3c7;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.warning-icon {
    font-size: 1.5rem;
}

/* Tabs */
.tab-nav {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--border);
}

.tab {
    padding: 0.75rem 1.5rem;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.tab:hover {
    color: var(--text);
    text-decoration: none;
}

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

/* Filter Bar */
.filter-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.filter-group select,
.filter-group input {
    padding: 0.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.filter-btn {
    padding: 0.5rem 1rem;
    color: var(--text-muted);
    border-radius: var(--radius);
}

.filter-btn:hover {
    background: var(--bg);
    text-decoration: none;
}

.filter-btn.active {
    background: var(--primary);
    color: white;
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.modal-content {
    position: relative;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

.modal-form {
    padding: 1.5rem;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.page-info {
    color: var(--text-muted);
}

/* Help Grid */
.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.help-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}

.help-card:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.help-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.help-card h2 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.help-card p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    cursor: pointer;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.faq-answer {
    display: none;
    padding: 0 1rem 1rem;
    color: var(--text-muted);
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
}

/* Ticket Conversation */
.ticket-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 1.5rem;
}

.conversation-card {
    min-width: 0;
}

.message-item {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: var(--radius);
}

.message-item.customer {
    background: var(--bg);
}

.message-item.agent {
    background: #dbeafe;
}

.message-item.internal {
    background: #fef3c7;
    border: 1px dashed #b45309;
}

.message-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.message-author {
    font-weight: 500;
}

.message-time {
    color: var(--text-muted);
}

.internal-badge {
    background: #b45309;
    color: white;
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius);
    font-size: 0.75rem;
    margin-left: 0.5rem;
}

.ticket-sidebar {
    min-width: 0;
}

/* Text Utilities */
.text-danger {
    color: var(--danger);
}

.text-muted {
    color: var(--text-muted);
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .portal-nav {
        padding: 0 1rem;
    }

    .nav-menu {
        display: none;
    }

    .portal-main {
        padding: 1rem;
    }

    .settings-layout {
        grid-template-columns: 1fr;
    }

    .settings-nav {
        flex-direction: row;
        overflow-x: auto;
    }

    .ticket-layout {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Color Picker */
.color-picker {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.color-option {
    cursor: pointer;
}

.color-option input {
    display: none;
}

.color-swatch {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid transparent;
}

.color-option input:checked + .color-swatch {
    border-color: var(--text);
}

/* Reader Cards */
.reader-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.reader-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
}

.reader-avatar-large {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 1rem;
}

.add-reader-card {
    border: 2px dashed var(--border);
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.add-reader-card:hover {
    border-color: var(--primary);
    color: var(--primary);
    text-decoration: none;
}

.add-icon {
    font-size: 2rem;
}

/* Story Grid */
.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.story-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}

.story-card:hover {
    transform: translateY(-4px);
    text-decoration: none;
}

.story-cover {
    aspect-ratio: 3/4;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.story-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cover-placeholder {
    font-size: 3rem;
    color: var(--text-muted);
}

.story-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.25rem 0.5rem;
    background: var(--success);
    color: white;
    border-radius: var(--radius);
    font-size: 0.75rem;
}

.story-meta {
    padding: 1rem;
}

.story-title {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text);
}

.story-subtitle,
.story-date,
.story-reader {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Classroom Cards */
.classroom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.classroom-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: background 0.2s;
}

.classroom-card:hover {
    background: var(--border);
    text-decoration: none;
}

.classroom-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.class-code {
    font-family: monospace;
    color: var(--primary);
}

/* Class Code Banner */
.class-code-banner {
    background: var(--primary);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.code-value {
    font-family: monospace;
    font-size: 1.25rem;
    font-weight: 600;
}

/* Details List */
.details-list {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem 1rem;
}

.details-list dt {
    color: var(--text-muted);
}

.details-list.compact {
    font-size: 0.875rem;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.action-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: var(--bg);
    border-radius: var(--radius);
    color: var(--text);
    transition: background 0.2s;
}

.action-button:hover {
    background: var(--border);
    text-decoration: none;
}

.action-icon {
    font-size: 1.5rem;
}

/* Inline Form */
.inline-form {
    display: inline;
}

/* Usage Bar */
.usage-bar-container {
    margin-bottom: 0.5rem;
}

.usage-bar {
    height: 8px;
    background: var(--bg);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.usage-progress {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
}

.usage-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Plan Comparison */
.plan-comparison {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.plan-column {
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
}

.plan-column.current {
    border-color: var(--primary);
}

.plan-column.highlighted {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.plan-price {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.plan-features {
    list-style: none;
    text-align: left;
    margin: 1rem 0;
}

.plan-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

/* Compliance List */
.compliance-list {
    list-style: none;
}

.compliance-list li {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.compliance-icon {
    color: var(--success);
    font-size: 1.25rem;
}

/* Search Form */
.search-form .search-input-group {
    display: flex;
    gap: 0.5rem;
}

.search-form input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
