        @import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;600;700&family=Inter:wght@400;500;600;700&display=swap');

        :root {
            --font-lato: 'Lato', sans-serif;
            --brand-color: #B9F040;
            --bg-black: #000000;
            --text-white: #ffffff;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Lato', 'Inter', 'Roboto', sans-serif;
            background: #fafafa;
            min-height: 100vh;
            padding: 0;
            margin: 0;
        }

        /* Login Screen */
        .login-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.7);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10000;
        }

        .login-overlay.hidden {
            display: none;
        }

        .login-container {
            background: white;
            padding: 40px;
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
            max-width: 400px;
            width: 90%;
        }

        .login-container h2 {
            margin: 0 0 24px 0;
            color: #333;
            font-size: 24px;
            font-weight: 600;
        }

        .login-container input {
            width: 100%;
            padding: 12px;
            margin-bottom: 16px;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-size: 14px;
            box-sizing: border-box;
        }

        .login-container button {
            width: 100%;
            padding: 12px;
            background: var(--brand-color);
            color: var(--bg-black);
            border: none;
            border-radius: 6px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            font-family: var(--font-lato);
        }

        .login-container button:hover {
            background: #a0d636;
        }

        .login-container button:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        .login-error {
            color: #e74c3c;
            margin-top: 8px;
            font-size: 14px;
            display: none;
        }

        /* Main Container */
        .container {
            width: 100%;
            min-height: 100vh;
            background: #fafafa;
            display: flex;
            flex-direction: column;
        }

        .header {
            background: var(--surface);
            border-bottom: 1px solid var(--border);
            padding: 24px 32px;
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 16px;
        }

        .header-content {
            flex: 1;
        }

        .header h1 {
            font-size: 26px;
            font-weight: 600;
            margin: 0 0 6px 0;
            font-family: var(--font-lato);
        }

        .header .subtitle {
            font-size: 14px;
            color: var(--muted);
            margin-top: 6px;
        }

        .breadcrumbs {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            color: var(--muted);
            margin-bottom: 12px;
            font-family: var(--font-lato);
        }

        .breadcrumbs a {
            color: var(--bg-black);
            text-decoration: none;
            transition: color 0.2s;
        }

        .breadcrumbs a:hover {
            color: var(--brand-color);
            text-decoration: underline;
        }

        .breadcrumbs-separator {
            color: var(--muted);
            opacity: 0.5;
        }

        .founder-meta {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 8px;
        }

        #founderEmail {
            font-size: 12px;
            color: var(--muted);
        }

        .logout-btn {
            background: #edf2f7;
            color: var(--text);
            border: 1px solid var(--border);
            padding: 8px 16px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 600;
            font-family: var(--font-lato);
            transition: background 0.2s;
        }

        .logout-btn:hover {
            background: #e2e8f0;
        }

        .content {
            flex: 1;
            padding: 30px;
            max-width: 1400px;
            margin: 0 auto;
            width: 100%;
        }

        /* Filters */
        .filters {
            background: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            margin-bottom: 20px;
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
            align-items: flex-end;
        }

        .filter-group {
            flex: 1;
            min-width: 200px;
        }

        .filter-group label {
            display: block;
            margin-bottom: 5px;
            font-size: 14px;
            font-weight: 500;
            color: #333;
        }

        .filter-group input,
        .filter-group select,
        .filter-group textarea {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-size: 14px;
            font-family: inherit;
        }

        .filter-group textarea {
            resize: vertical;
            min-height: 60px;
        }

        .btn {
            padding: 10px 20px;
            border: none;
            border-radius: 6px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: opacity 0.2s;
        }

        .btn-primary {
            background: var(--brand-color);
            color: var(--bg-black);
        }

        .btn-primary:hover {
            background: #a0d636;
        }

        .btn-secondary {
            background: #e0e0e0;
            color: #333;
        }

        .btn-secondary:hover {
            background: #d0d0d0;
        }

        .btn-danger {
            background: #dc3545;
            color: white;
        }

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

        /* Table */
        .table-container {
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            margin-bottom: 20px;
        }

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

        .table-header h2 {
            font-size: 20px;
            font-weight: 600;
            color: #333;
        }

        .table-actions {
            display: flex;
            gap: 10px;
        }

        .table-wrapper {
            overflow-x: auto;
        }

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

        th {
            background: #f5f5f5;
            padding: 12px;
            text-align: left;
            font-weight: 600;
            font-size: 13px;
            color: #666;
            border-bottom: 2px solid #ddd;
            position: sticky;
            top: 0;
            z-index: 10;
        }

        td {
            padding: 12px;
            border-bottom: 1px solid #eee;
            font-size: 14px;
            color: #333;
        }

        tr:hover {
            background: #f9f9f9;
        }

        .checkbox-cell {
            width: 40px;
            text-align: center;
        }

        .id-cell {
            width: 80px;
            font-family: monospace;
            font-size: 12px;
        }

        .editable-cell {
            min-width: 200px;
        }

        .editable-input {
            width: 100%;
            padding: 6px 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 13px;
        }

        .editable-input:focus {
            outline: none;
            border-color: var(--brand-color);
        }

        .text-cell {
            max-width: 300px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        /* Pagination */
        .pagination {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px;
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .pagination-info {
            color: #666;
            font-size: 14px;
        }

        .pagination-controls {
            display: flex;
            gap: 10px;
            align-items: center;
        }

        .pagination-btn {
            padding: 8px 16px;
            border: 1px solid #ddd;
            background: white;
            border-radius: 6px;
            cursor: pointer;
            font-size: 14px;
        }

        .pagination-btn:hover:not(:disabled) {
            background: #f5f5f5;
        }

        .pagination-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .page-input {
            width: 60px;
            padding: 6px;
            border: 1px solid #ddd;
            border-radius: 4px;
            text-align: center;
        }

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

        /* Status Messages */
        .status-message {
            padding: 12px 20px;
            border-radius: 6px;
            margin-bottom: 20px;
            display: none;
        }

        .status-message.success {
            background: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }

        .status-message.error {
            background: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }

        .status-message.show {
            display: block;
        }

        /* Bulk Edit Section */
        .bulk-edit-section {
            margin-bottom: 20px;
        }

        .bulk-edit-card {
            background: #fff3cd;
            border: 1px solid #ffc107;
            padding: 20px;
            border-radius: 8px;
        }

        .bulk-edit-card h3 {
            margin: 0 0 10px 0;
            color: #856404;
            font-size: 18px;
        }

        .bulk-edit-info {
            color: #856404;
            font-size: 14px;
            margin-bottom: 15px;
        }

        .bulk-edit-fields {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
            align-items: flex-end;
        }

        /* Collapsible Sections */
        .collapsible-section {
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            margin-bottom: 20px;
            overflow: hidden;
        }

        .collapsible-header {
            padding: 15px 20px;
            background: #f5f5f5;
            border-bottom: 1px solid #ddd;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            user-select: none;
        }

        .collapsible-header:hover {
            background: #e9e9e9;
        }

        .collapsible-header h3 {
            margin: 0;
            font-size: 16px;
            font-weight: 600;
            color: #333;
        }

        .collapsible-toggle {
            font-size: 20px;
            color: #666;
            transition: transform 0.2s;
        }

        .collapsible-section.collapsed .collapsible-toggle {
            transform: rotate(-90deg);
        }

        .collapsible-content {
            padding: 20px;
            display: block;
        }

        .collapsible-section.collapsed .collapsible-content {
            display: none;
        }

        /* Field Selector */
        .field-selector {
            margin-bottom: 20px;
            padding: 15px;
            background: #f9f9f9;
            border-radius: 6px;
            border: 1px solid #ddd;
        }

        .field-selector h4 {
            margin: 0 0 15px 0;
            font-size: 14px;
            font-weight: 600;
            color: #555;
        }

        .field-categories {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 10px;
        }

        .field-category {
            background: white;
            padding: 10px;
            border-radius: 4px;
            border: 1px solid #ddd;
        }

        .field-category h5 {
            margin: 0 0 8px 0;
            font-size: 12px;
            font-weight: 600;
            color: #666;
            text-transform: uppercase;
        }

        .field-checkbox {
            display: flex;
            align-items: center;
            padding: 4px 0;
            font-size: 13px;
        }

        .field-checkbox input[type="checkbox"] {
            margin-right: 6px;
        }

        .field-checkbox label {
            cursor: pointer;
            margin: 0;
        }

        /* Dynamic Field Inputs */
        .dynamic-fields {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 15px;
            margin-top: 15px;
        }

        .dynamic-field {
            display: none;
        }

        .dynamic-field.visible {
            display: block;
        }

        .field-type-badge {
            display: inline-block;
            padding: 2px 6px;
            font-size: 10px;
            border-radius: 3px;
            background: #e0e0e0;
            color: #555;
            margin-left: 5px;
        }

        .field-type-badge.string { background: #e3f2fd; color: #1976d2; }
        .field-type-badge.integer { background: #fff3e0; color: #f57c00; }
        .field-type-badge.datetime { background: #f3e5f5; color: #7b1fa2; }
        .field-type-badge.text { background: #e8f5e9; color: #388e3c; }
        .field-type-badge.json { background: #fce4ec; color: #c2185b; }
