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

        :root {
            --new-shot-drop-text: 'Drop an asset here to create a new shot.';
            --new-shot-drop-bg: rgba(0, 200, 81, 0.1);
            --new-shot-drop-border: 3px dashed #00c851;
            --new-shot-drop-color: #00c851;
            --add-version-drop-text: 'Add version +';
        }

        .new-shot-drop-zone {
            background: var(--new-shot-drop-bg);
            border: var(--new-shot-drop-border);
            color: var(--new-shot-drop-color);
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: #171717;
            color: #e5e5e5;
        }

        /* Menu Bar */
        .menu-bar {
            background: #111;
            border-bottom: 1px solid #333;
            padding: 0px;
            display: flex;
            gap: 20px;
            font-size: 14px;
            width: 100%;
        }

        .dark-button {
            padding: 10px 20px;
            background: #3a3a3a;
            color: #e5e5e5;
            border: none;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s;
        }

        .dark-button:hover {
            background: #505050;
        }

        .icon-button {
            padding: 8px 10px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .icon-button img {
            width: 20px;
            height: 20px;
        }

.setup-panel {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 15px 20px;
            width: 100%;
        }

        .path-input {
            width: 50vw;
            padding: 10px;
            border-radius: 6px;
            border: 1px solid #444;
            background: transparent;
            color: #eee;
            font-size: 14px;
        }



        .menu-item {
            cursor: pointer;
            padding: 4px 8px;
            border-radius: 4px;
            transition: background 0.2s;
            color: #e5e5e5;
        }

        .menu-item:hover {
            background: #404040;
        }

        /* Header */
        .header {
            background: #252525;
            padding: 20px;
            border-bottom: 1px solid #404040;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .header-controls {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 10px;
        }

        .project-title {
            font-size: 24px;
            font-weight: 600;
            color: #e5e5e5;
        }

        /*.new-shot-btn {
            background: #00c851;
            color: #1a1a1a;
            border: none;
            padding: 10px 16px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
            transition: background 0.2s;
        }

        .new-shot-btn:hover {
            background: #00a843;
        }*/

        .inline-new-shot-btn {
            display: none;
            padding: 6px 12px;
            font-size: 12px;
        }

        .drop-between-rows:hover .inline-new-shot-btn,
        .drop-between-rows.final-drop:hover .inline-new-shot-btn {
            display: block;
        }

        .drop-between-rows.drag-over .inline-new-shot-btn {
            display: none;
        }

        /* Main Container */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        /* Shot Grid */
        .shot-grid {
            background: #252525;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 2px 20px rgba(0,0,0,0.3);
        }

        .grid-header {
            background: #2a2a2a;
            display: grid;
            grid-template-columns: 110px 160px 160px 1fr; /* Adjust widths here */
            align-items: start; /* Align content to top/left */
            border-bottom: 1px solid #404040;
        }

        .grid-header-cell {
            justify-content: flex-start;
            text-align: left;
            padding: 16px;
            font-weight: 600;
            font-size: 14px;
            color: #b5b5b5;
        }

        .shot-row {
            display: grid;
            grid-template-columns: 110px 160px 160px 1fr; /* Adjust widths here */
            align-items: start; /* Align content to top/left */
            border-bottom: 1px solid #404040;
            transition: background 0.2s;
            padding-bottom: 10px; /* Add space below to mirror top */
        }

        .shot-row:hover {
            background: #2a2a2a;
        }

        .shot-row.archived {
            opacity: 0.5;
            background: #2a2a2a;
        }

        .shot-name {
            padding: 20px 16px;
            font-weight: 500;
            font-size: 16px;
            display: flex;
            align-items: center;
            cursor: pointer;
            color: #e5e5e5;
        }

        /* Drop Zones */
        .drop-zone {
            padding: 0;
            margin: 10px;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            text-align: left;
            aspect-ratio: 4 / 3;
            position: relative;
            transition: all 0.2s;
        }

        .drop-zone.empty {
            border: 2px dashed #505050;
            border-radius: 8px;
            background: #2a2a2a;
            padding: 0;
            min-height: auto;
            aspect-ratio: 4 / 3;
            cursor: pointer;
        }

        .drop-zone.empty:hover {
            border-color: #00c851;
            background: #1f2f22;
        }

        .drop-zone.drag-over {
            background: var(--new-shot-drop-bg);
            border: var(--new-shot-drop-border);
            color: var(--new-shot-drop-color);
            transform: scale(1.02);
        }

        .drop-zone.drag-over:not(.empty)::after {
            content: var(--add-version-drop-text);
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            font-weight: 600;
            color: var(--new-shot-drop-color);
            pointer-events: none;
            border-radius: inherit;
        }

        .drop-placeholder {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            height: 100%;
            width: 100%;
        }


        .drop-placeholder .text {
            font-size: 14px;
            color: #b5b5b5;
        }

        /* File Preview */
        .file-preview {
            position: relative;
            align-items: flex-start;
            display: flex;
            flex-direction: column;
            gap: 8px;
            width: 100%;
        }

        .preview-thumbnail {
            width: 100%;
            aspect-ratio: 4 / 3;
            border-radius: 6px;
            object-fit: cover;
            border: 1px solid #505050;
            background: #404040;
            cursor: pointer;
        }

        .video-thumbnail {
            position: relative;
            cursor: pointer;
        }


        /* Lipsync column */
        .lipsync-cell {
            display: flex;
            flex-direction: column;
            gap: 2px;
            padding: 2px 0;
        }

        .lipsync-drop {
            min-height: 34px;
            padding: 2px;
            margin: 0;
            aspect-ratio: auto;
        }

        .lipsync-preview .preview-thumbnail {
            width: 36px;
            height: 26px;
        }

        .lipsync-thumbnail {
            position: relative;
            cursor: pointer;
        }


        .version-badge {
            position: absolute;
            bottom: 4px;
            left: 4px;
            background: #00c851;
            color: #1a1a1a;
            padding: 2px 6px;
            border-radius: 4px;
            font-size: 11px;
            font-weight: 500;
        }

        .prompt-button {
            position: absolute;
            bottom: 4px;
            right: 4px;
            background: #3a3a3a;
            color: #e5e5e5;
            border: none;
            padding: 2px 6px;
            border-radius: 4px;
            font-size: 11px;
            cursor: pointer;
        }

        .prompt-button:hover {
            background: #505050;
        }

        /* Notifications */
        .notification {
            position: fixed;
            top: 20px;
            right: 20px;
            background: #00c851;
            color: #1a1a1a;
            padding: 12px 16px;
            border-radius: 8px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.4);
            /* Move the notification completely off screen */
            transform: translateX(calc(100% + 40px));
            transition: transform 0.3s ease;
            z-index: 1000;
            font-weight: 500;
        }

        .notification.show {
            transform: translateX(0);
        }

        .notification.error {
            background: #ff4444;
            color: #ffffff;
        }

        /* Setup Screen */
        .setup-screen {
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 80vh;
            flex-direction: column;
            gap: 20px;
        }

        .setup-card {
            background: #252525;
            padding: 40px;
            border-radius: 12px;
            text-align: center;
            max-width: 500px;
            box-shadow: 0 2px 20px rgba(0,0,0,0.3);
        }

        .setup-btn {
            background: #00c851;
            color: #1a1a1a;
            border: none;
            padding: 12px 24px;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            transition: background 0.2s;
        }

        .setup-btn:hover {
            background: #00a843;
        }

        /* Loading Styles */
        .loading {
            display: none;
            text-align: center;
            padding: 20px;
            color: #808080;
        }

        /* Drop Between Rows */
        .drop-between-rows {
            height: 20px;
            margin: 0 20px;
            border-radius: 4px;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #808080;
            font-size: 12px;
            opacity: 0;
        }

        .drop-between-rows:hover {
            opacity: 1;
            background: #2a2a2a;
        }

        .drop-between-rows.drag-over {
            opacity: 1;
            height: 60px;
            margin: 10px 20px;
        }

        .drop-between-rows.drag-over,
        .new-shot-drop-zone {
            background: var(--new-shot-drop-bg);
            border: var(--new-shot-drop-border);
            color: var(--new-shot-drop-color);
        }

        .drop-between-rows.drag-over::after {
            content: var(--new-shot-drop-text);
        }

        .drop-between-rows.final-drop {
            height: 100px;
            margin-top: 20px;
            margin-bottom: 20px;
        }

        .drop-between-rows.first-drop {
            margin-top: 0;
        }

        .drop-between-rows.final-drop.empty-state {
            opacity: 1;
        }

        /* Notes Column */
        .notes-cell {
            justify-content: flex-start !important;
            text-align: left;
            padding: 16px;
            display: flex;
            align-items: stretch;
        }

        .notes-input {
            height: 100%;
            min-height: 100px; /* Or remove min-height if undesired */
            max-height: none;
            width: 100%;
            background: #2a2a2a;
            border: 1px solid #404040;
            border-radius: 6px;
            padding: 12px;
            color: #e5e5e5;
            font-family: inherit;
            font-size: 14px;
            resize: none;
            min-height: 36px;
            max-height: 120px;
            transition: border-color 0.2s, background 0.2s;
        }

        .notes-input:focus {
            outline: none;
            border-color: #00c851;
            background: #333333;
        }

        .notes-input::placeholder {
            color: #808080;
        }

        /* Create Project Modal */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            align-items: center;
            justify-content: center;
            z-index: 10000;
        }

        .modal-content {
            background: #252525;
            padding: 30px;
            border-radius: 8px;
            text-align: center;
            box-shadow: 0 2px 20px rgba(0,0,0,0.3);
        }

        #prompt-modal .modal-content {
            width: 800px;
        }

        #prompt-modal-title {
            margin-bottom: 10px;
            text-align: left;
        }

        .prompt-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }

        .version-select {
            position: relative;
        }

        .pill-button {
            padding: 5px 12px;
            background: #3a3a3a;
            color: #e5e5e5;
            border: none;
            border-radius: 999px;
            cursor: pointer;
        }

        .dropdown-menu {
            display: none;
            position: absolute;
            top: 110%;
            left: 0;
            background: #252525;
            border: 1px solid #444;
            border-radius: 6px;
            min-width: 80px;
            z-index: 100;
        }

        .dropdown-menu.show {
            display: block;
        }

        .dropdown-item {
            padding: 5px 10px;
            cursor: pointer;
        }

        .dropdown-item:hover {
            background: #3a3a3a;
        }

        .prompt-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .left-buttons {
            display: flex;
            gap: 10px;
        }

        .green-button {
            padding: 10px 20px;
            background: #00c851;
            color: #1a1a1a;

            border: none;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s;
        }

        .green-button:hover {
            background: #00a143;
        }

        .gray-button {
            padding: 10px 20px;
            background: #555;
            color: #e5e5e5;
            border: none;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s;
        }

        .gray-button:hover {
            background: #6b6b6b;
        }

        .modal-content input {
            width: 100%;
            padding: 10px;
            margin-top: 10px;
            margin-bottom: 20px;
            border-radius: 6px;
            border: 1px solid #444;
            background: transparent;
            color: #eee;
        }

        .prompt-textarea {
            width: 100%;
            height: 200px;
            background: #2a2a2a;
            border: 1px solid #404040;
            border-radius: 6px;
            padding: 12px;
            color: #e5e5e5;
            resize: vertical;
            font-family: inherit;
            font-size: 14px;
            margin-top: 10px;
            margin-bottom: 20px;
        }

        .close-modal {
            position: absolute;
            top: 10px;
            right: 10px;
            background: transparent;
            color: #e5e5e5;
            border: none;
            font-size: 18px;
            cursor: pointer;
        }

        .modal-buttons {
            display: flex;
            gap: 10px;
            justify-content: center;
        }

        .app-footer {
            padding: 15px 0;
            text-align: center;
            font-size: 12px;
            color: #808080;
            border-top: 1px solid #333;
            background: #111;
        }
