
        body {
            background: #f4f6f9;
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
        }
        
        .project-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 24px;
            margin-top: 30px;
        }
        
        .project-card {
            background: #fff;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 2px 12px rgba(0,0,0,0.06);
            transition: all 0.3s ease;
            position: relative;
            text-decoration: none;
            color: inherit;
            display: block;
        }
        
        .project-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        }
        
        .project-cover {
            width: 100%;
            height: 220px;
            object-fit: cover;
            background: linear-gradient(135deg, #D4A853 0%, #C69640 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 64px;
            color: #1A2744;
        }
        
        .project-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .project-body {
            padding: 20px;
        }
        
        .project-title {
            font-size: 20px;
            font-weight: 700;
            color: #1A2744;
            margin: 0 0 10px 0;
        }
        
        .project-desc {
            font-size: 14px;
            color: #666;
            margin-bottom: 15px;
            line-height: 1.5;
        }
        
        .status-badge {
            display: inline-block;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
            margin-bottom: 12px;
        }
        
        .status-planning { background: #e3f2fd; color: #1976d2; }
        .status-writing { background: #fff3e0; color: #f57c00; }
        .status-editing { background: #f3e5f5; color: #7b1fa2; }
        .status-uploaded { background: #e8f5e9; color: #388e3c; }
        .status-complete { background: #c8e6c9; color: #2e7d32; }
        
        .progress-bar-custom {
            width: 100%;
            height: 8px;
            background: #e8eaed;
            border-radius: 10px;
            overflow: hidden;
            margin-bottom: 8px;
        }
        
        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, #D4A853 0%, #C69640 100%);
            transition: width 0.3s ease;
        }
        
        .progress-text {
            font-size: 13px;
            color: #888;
        }
        
        .btn-delete {
            position: absolute;
            top: 12px;
            right: 12px;
            background: rgba(220, 53, 69, 0.95);
            color: white;
            border: none;
            padding: 8px 14px;
            border-radius: 8px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            z-index: 10;
            transition: all 0.2s ease;
        }
        
        .btn-delete:hover {
            background: #c82333;
            transform: scale(1.05);
        }
        
        .btn-primary-custom {
            background: linear-gradient(135deg, #D4A853 0%, #C69640 100%);
            color: #1A2744;
            padding: 12px 28px;
            border-radius: 10px;
            font-weight: 600;
            text-decoration: none;
            display: inline-block;
            border: none;
            box-shadow: 0 2px 8px rgba(212, 168, 83, 0.3);
            transition: all 0.3s ease;
        }
        
        .btn-primary-custom:hover {
            background: linear-gradient(135deg, #C69640 0%, #B8923F 100%);
            color: #1A2744;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(212, 168, 83, 0.4);
        }
        
        .page-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }
        
        .page-title {
            font-size: 36px;
            font-weight: 700;
            color: #1A2744;
            margin: 0;
        }
        
        .empty-state {
            text-align: center;
            padding: 80px 20px;
            background: #fff;
            border-radius: 16px;
            margin-top: 30px;
        }
        
        .empty-state-icon {
            font-size: 72px;
            margin-bottom: 20px;
        }
        
        .empty-state h2 {
            color: #1A2744;
            margin-bottom: 15px;
        }
        
        .empty-state p {
            color: #666;
            font-size: 16px;
            margin-bottom: 25px;
        }
        
        @media (max-width: 768px) {
            .project-grid {
                grid-template-columns: 1fr;
            }
            
            .page-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
            }
        }

  .form-container {
            max-width: 700px;
            margin: 40px auto;
            background: #fff;
            padding: 40px;
            border-radius: 16px;
            box-shadow: 0 2px 12px rgba(0,0,0,0.06);
        }
        
        .page-title {
            font-size: 32px;
            font-weight: 700;
            color: #1A2744;
            margin-bottom: 30px;
        }
        
        .form-label {
            font-weight: 600;
            color: #1A2744;
            margin-bottom: 8px;
            font-size: 14px;
        }
        
        .form-control, .form-select {
            border: 2px solid #e8eaed;
            border-radius: 8px;
            padding: 12px 16px;
            font-size: 15px;
            transition: border 0.2s;
        }
        
        .form-control:focus, .form-select:focus {
            border-color: #D4A853;
            box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.1);
        }
        
        .btn-primary-custom {
            background: linear-gradient(135deg, #D4A853 0%, #C69640 100%);
            color: #1A2744;
            padding: 14px 32px;
            border-radius: 10px;
            font-weight: 600;
            border: none;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 100%;
        }
        
        .btn-primary-custom:hover {
            background: linear-gradient(135deg, #C69640 0%, #B8923F 100%);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(212, 168, 83, 0.4);
        }
        
        .alert-danger {
            background: #ffdede;
            border: 1px solid #ffb3b3;
            color: #c82333;
            padding: 12px 16px;
            border-radius: 8px;
            margin-bottom: 20px;
        }
        
        .cover-preview {
            width: 100%;
            max-width: 300px;
            margin-top: 15px;
            border-radius: 8px;
            display: none;
        }
        
        .help-text {
            font-size: 13px;
            color: #888;
            margin-top: 5px;
        }


        
        .project-header {
            background: #fff;
            padding: 30px;
            border-radius: 16px;
            box-shadow: 0 2px 12px rgba(0,0,0,0.06);
            margin-bottom: 25px;
        }
        
        .project-header-grid {
            display: grid;
            grid-template-columns: 200px 1fr;
            gap: 30px;
            align-items: start;
        }
        
        .project-cover {
            width: 200px;
            height: 280px;
            border-radius: 12px;
            object-fit: cover;
            background: linear-gradient(135deg, #D4A853 0%, #C69640 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 64px;
            color: #1A2744;
            box-shadow: 0 4px 16px rgba(0,0,0,0.1);
        }
        
        .project-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 12px;
        }
        
        .project-title {
            font-size: 32px;
            font-weight: 700;
            color: #1A2744;
            margin-bottom: 15px;
        }
        
        .project-desc {
            color: #666;
            line-height: 1.6;
            margin-bottom: 20px;
        }
        
        .status-badge {
            display: inline-block;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 13px;
            font-weight: 600;
            text-transform: uppercase;
            margin-right: 10px;
        }
        
        .status-planning { background: #e3f2fd; color: #1976d2; }
        .status-writing { background: #fff3e0; color: #f57c00; }
        .status-editing { background: #f3e5f5; color: #7b1fa2; }
        .status-uploaded { background: #e8f5e9; color: #388e3c; }
        .status-complete { background: #c8e6c9; color: #2e7d32; }
        
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 15px;
            margin: 20px 0;
        }
        
        .stat-card {
            background: #f8f9fb;
            padding: 15px;
            border-radius: 10px;
            text-align: center;
        }
        
        .stat-value {
            font-size: 28px;
            font-weight: 700;
            color: #1A2744;
            display: block;
        }
        
        .stat-label {
            font-size: 13px;
            color: #888;
            margin-top: 5px;
        }
        
        .progress-bar-custom {
            width: 100%;
            height: 12px;
            background: #e8eaed;
            border-radius: 10px;
            overflow: hidden;
            margin: 15px 0;
        }
        
        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, #D4A853 0%, #C69640 100%);
            transition: width 0.3s ease;
        }
        
        .btn-group-custom {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            margin-top: 20px;
        }
        
        .btn-custom {
            padding: 10px 20px;
            border-radius: 8px;
            font-weight: 600;
            font-size: 14px;
            text-decoration: none;
            transition: all 0.2s;
            border: none;
            cursor: pointer;
        }
        
        .btn-primary-custom {
            background: linear-gradient(135deg, #D4A853 0%, #C69640 100%);
            color: #1A2744;
        }
        
        .btn-primary-custom:hover {
            background: linear-gradient(135deg, #C69640 0%, #B8923F 100%);
            color: #1A2744;
            transform: translateY(-2px);
        }
        
        .btn-secondary-custom {
            background: #f8f9fb;
            color: #1A2744;
        }
        
        .btn-secondary-custom:hover {
            background: #e8eaed;
        }
        
        .btn-danger-custom {
            background: #dc3545;
            color: white;
        }
        
        .btn-danger-custom:hover {
            background: #c82333;
        }
        
        /* View Toggle */
        .view-toggle {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
        }
        
        .view-toggle-btn {
            padding: 10px 20px;
            border: 2px solid #e8eaed;
            background: white;
            color: #666;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.2s;
        }
        
        .view-toggle-btn.active {
            border-color: #D4A853;
            background: #D4A853;
            color: #1A2744;
        }
        
        /* Kanban Board */
        .kanban-board {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 20px;
            margin-top: 20px;
        }
        
        .kanban-column {
            background: #fff;
            padding: 20px;
            border-radius: 12px;
            min-height: 400px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.04);
        }
        
        .kanban-header {
            font-size: 16px;
            font-weight: 700;
            color: #1A2744;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 2px solid #e8eaed;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .task-count {
            background: #e8eaed;
            color: #666;
            padding: 2px 8px;
            border-radius: 12px;
            font-size: 12px;
            font-weight: 600;
        }
        
        .task-card {
            background: #f8f9fb;
            padding: 15px;
            border-radius: 10px;
            margin-bottom: 12px;
            cursor: grab;
            transition: all 0.2s;
            border-left: 4px solid #D4A853;
        }
        
        .task-card:hover {
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            transform: translateY(-2px);
        }
        
        .task-card.dragging {
            opacity: 0.5;
            cursor: grabbing;
        }
        
        .task-title {
            font-weight: 600;
            color: #1A2744;
            margin-bottom: 8px;
            font-size: 14px;
        }
        
        .task-meta {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            margin-top: 10px;
        }
        
        .task-badge {
            padding: 3px 8px;
            border-radius: 12px;
            font-size: 11px;
            font-weight: 600;
        }
        
        .priority-high { background: #ffdede; color: #c82333; }
        .priority-medium { background: #fff3e0; color: #f57c00; }
        .priority-low { background: #e8f5e9; color: #388e3c; }
        
        .type-badge {
            background: #e8eaed;
            color: #666;
            padding: 3px 8px;
            border-radius: 12px;
            font-size: 11px;
        }
        
        .task-due {
            font-size: 11px;
            color: #888;
            display: flex;
            align-items: center;
            gap: 4px;
        }
        
        /* List View */
        .list-view {
            background: #fff;
            border-radius: 12px;
            padding: 20px;
            margin-top: 20px;
        }
        
        .task-list-item {
            padding: 15px;
            border-bottom: 1px solid #e8eaed;
            transition: background 0.2s;
        }
        
        .task-list-item:hover {
            background: #f8f9fb;
        }
        
        .task-list-item:last-child {
            border-bottom: none;
        }
        
        /* Tabs */
        .tabs {
            display: flex;
            gap: 5px;
            border-bottom: 2px solid #e8eaed;
            margin-bottom: 20px;
        }
        
        .tab {
            padding: 12px 24px;
            background: none;
            border: none;
            color: #666;
            font-weight: 600;
            cursor: pointer;
            position: relative;
            transition: all 0.2s;
        }
        
        .tab.active {
            color: #D4A853;
        }
        
        .tab.active::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            right: 0;
            height: 2px;
            background: #D4A853;
        }
        
        .tab-content {
            display: none;
        }
        
        .tab-content.active {
            display: block;
        }
        
        /* Notes */
        .note-card {
            background: #fff9e6;
            padding: 20px;
            border-radius: 10px;
            border-left: 4px solid #D4A853;
            margin-bottom: 15px;
        }
        
        .note-body {
            color: #666;
            line-height: 1.6;
            white-space: pre-wrap;
        }
        
        .note-date {
            font-size: 12px;
            color: #888;
            margin-top: 10px;
        }
        
        /* Files */
        .file-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 15px;
        }
        
        .file-card {
            background: #fff;
            padding: 15px;
            border-radius: 10px;
            text-align: center;
            border: 2px solid #e8eaed;
            transition: all 0.2s;
        }
        
        .file-card:hover {
            border-color: #D4A853;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }
        
        .file-icon {
            font-size: 48px;
            margin-bottom: 10px;
        }
        
        .file-name {
            font-size: 13px;
            color: #666;
            word-break: break-word;
        }
        
        /* Activity */
        .activity-list {
            background: #fff;
            border-radius: 12px;
            padding: 20px;
        }
        
        .activity-item {
            display: flex;
            gap: 15px;
            padding: 15px 0;
            border-bottom: 1px solid #e8eaed;
        }
        
        .activity-item:last-child {
            border-bottom: none;
        }
        
        .activity-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: #f8f9fb;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            flex-shrink: 0;
        }
        
        .activity-content {
            flex: 1;
        }
        
        .activity-message {
            color: #1A2744;
            font-weight: 500;
            margin-bottom: 5px;
        }
        
        .activity-time {
            font-size: 12px;
            color: #888;
        }
        
        @media (max-width: 1200px) {
            .kanban-board {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        
        @media (max-width: 768px) {
            .project-header-grid {
                grid-template-columns: 1fr;
            }
            
            .project-cover {
                width: 100%;
                height: 300px;
            }
            
            .kanban-board {
                grid-template-columns: 1fr;
            }
            
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
  


        .edit-container {
            max-width: 900px;
            margin: 40px auto;
            background: #ffffff;
            border-radius: 16px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            overflow: hidden;
        }

        .edit-header {
            background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
            color: var(--navy);
            padding: 30px 40px;
        }

        .edit-header h1 {
            font-size: 28px;
            font-weight: 700;
            margin: 0;
        }

        .edit-body {
            padding: 40px;
        }

        .section {
            margin-bottom: 35px;
        }

        .section-title {
            font-size: 18px;
            font-weight: 700;
            color: var(--navy);
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #f0f0f0;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .section-title i {
            color: var(--gold);
        }

        label {
            font-weight: 600;
            color: var(--navy);
            margin-bottom: 8px;
            display: block;
            font-size: 14px;
        }

        .form-control, .form-select, textarea {
            border-radius: 10px;
            padding: 12px 15px;
            border: 2px solid #e8eaed;
            font-size: 15px;
            transition: all 0.2s;
        }

        .form-control:focus, .form-select:focus, textarea:focus {
            border-color: var(--gold);
            box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.1);
        }

        .help-text {
            font-size: 13px;
            color: #666;
            margin-top: 5px;
        }

        .cover-upload-area {
            display: grid;
            grid-template-columns: 200px 1fr;
            gap: 25px;
            align-items: start;
        }

        .cover-preview {
            width: 200px;
            height: 280px;
            border-radius: 12px;
            object-fit: cover;
            background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 64px;
            box-shadow: 0 4px 16px rgba(0,0,0,0.1);
        }

        .cover-preview img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 12px;
        }

        .word-count-display {
            background: #f8f9fb;
            padding: 20px;
            border-radius: 10px;
            border-left: 4px solid var(--gold);
            margin-top: 15px;
        }

        .word-count-display h6 {
            margin: 0 0 10px 0;
            color: var(--navy);
            font-weight: 700;
        }

        .word-stat {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            border-bottom: 1px solid #e8eaed;
        }

        .word-stat:last-child {
            border-bottom: none;
        }

        .word-stat-label {
            color: #666;
            font-size: 14px;
        }

        .word-stat-value {
            font-weight: 700;
            color: var(--navy);
            font-size: 16px;
        }

        .btn-group-custom {
            display: flex;
            gap: 15px;
            margin-top: 40px;
            padding-top: 30px;
            border-top: 2px solid #f0f0f0;
        }

        .btn-primary-custom {
            background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
            color: var(--navy);
            font-weight: 700;
            border: none;
            border-radius: 10px;
            padding: 14px 30px;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .btn-primary-custom:hover {
            background: linear-gradient(135deg, var(--gold-dark) 0%, #A07B35 100%);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }

        .btn-secondary-custom {
            background: #f8f9fb;
            color: var(--navy);
            font-weight: 600;
            border: 2px solid #e8eaed;
            border-radius: 10px;
            padding: 14px 30px;
            font-size: 16px;
            text-decoration: none;
            transition: all 0.2s;
            display: inline-block;
        }

        .btn-secondary-custom:hover {
            background: #e8eaed;
            border-color: #d0d3d9;
            color: var(--navy);
        }

        .status-preview {
            display: inline-block;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 13px;
            font-weight: 600;
            text-transform: uppercase;
            margin-left: 10px;
        }

        .status-idea { background: #e3f2fd; color: #1976d2; }
        .status-outline { background: #f3e5f5; color: #7b1fa2; }
        .status-writing { background: #fff3e0; color: #f57c00; }
        .status-design { background: #fce4ec; color: #c2185b; }
        .status-publishing { background: #e8f5e9; color: #388e3c; }
        .status-live { background: #c8e6c9; color: #2e7d32; }

        @media (max-width: 768px) {
            .cover-upload-area {
                grid-template-columns: 1fr;
            }

            .cover-preview {
                width: 100%;
            }

            .btn-group-custom {
                flex-direction: column;
            }
        }
 