        /* Miro Board Layout */
        body {
            background-color: #f5f7fa;
            overflow: hidden;
        }

        .app-container {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        .app-header {
            background: linear-gradient(135deg, #0d6efd 0%, #0dcaf0 100%);
            color: white;
            padding: 1rem 1.5rem;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

        .app-header h1 {
            font-size: 1.5rem;
            font-weight: 700;
            margin: 0;
        }

        .app-header p {
            margin: 0.25rem 0 0 0;
            font-size: 0.85rem;
            opacity: 0.95;
        }

        /* Main Board Layout */
        .board-wrapper {
            display: flex;
            gap: 0;
            flex: 1;
            min-height: 0;
        }

        /* Canvas Area (Full Width) */
        .canvas-area {
            flex: 1;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            overflow: auto;
            position: relative;
            padding: 2rem;
            display: flex;
            flex-direction: column;
        }

        /* Completions List */
        .completions-list {
            background: white;
            border-bottom: 2px solid #dee2e6;
            padding: 1rem 1.5rem;
            min-height: 50px;
            display: flex;
            align-items: center;
            gap: 2rem;
            flex-wrap: wrap;
        }

        .completions-list.hidden {
            display: none;
        }

        .completion-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 1rem;
            background: #d4edda;
            border: 1px solid #28a745;
            border-radius: 6px;
            color: #155724;
            font-size: 0.85rem;
            font-weight: 500;
        }

        .completion-item i {
            color: #28a745;
        }

        .canvas-empty-state {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            color: #999;
            pointer-events: none;
        }

        .canvas-empty-state i {
            font-size: 3rem;
            opacity: 0.3;
        }

        .canvas-empty-state p {
            margin-top: 1rem;
            font-size: 0.95rem;
        }

        /* Dropped Items Container */
        .dropped-courses {
            position: relative;
            min-height: 100%;
        }

        .dropped-course-card {
            position: absolute;
            background: white;
            border: 2px solid #0d6efd;
            border-radius: 8px;
            padding: 0.75rem;
            margin: 0;
            cursor: move;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            min-width: 200px;
            transition: box-shadow 0.2s ease;
            user-select: none;
            z-index: 10;
        }

        .dropped-course-card:hover {
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }

        .dropped-course-card.dragging {
            opacity: 0.7;
            z-index: 100;
        }

        .dropped-course-name {
            font-weight: 600;
            font-size: 0.9rem;
            color: #333;
            margin-bottom: 0.35rem;
        }

        .dropped-course-module {
            font-size: 0.75rem;
            color: #666;
            margin-bottom: 0.35rem;
        }

        .dropped-course-credits {
            font-size: 0.8rem;
            color: #0d6efd;
            font-weight: 600;
        }

        .dropped-course-remove {
            position: absolute;
            top: 5px;
            right: 5px;
            background: #dc3545;
            color: white;
            border: none;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            padding: 0;
            font-size: 0.7rem;
            cursor: pointer;
            display: none;
        }

        .dropped-course-card:hover .dropped-course-remove {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Right Panel */
        .progress-panel {
            flex: 0 0 320px;
            background: white;
            border-left: 2px solid #dee2e6;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
        }

        .progress-panel-content {
            padding: 1.5rem;
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .program-selector-section {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .program-selector-section label {
            font-size: 0.85rem;
            font-weight: 600;
            color: #495057;
        }

        .program-type-buttons {
            display: flex;
            gap: 0.5rem;
        }

        .program-type-buttons button {
            flex: 1;
            padding: 0.5rem;
            font-size: 0.8rem;
        }

        .program-selector-section select {
            padding: 0.5rem;
            font-size: 0.9rem;
        }

        /* Mini Progress Card */
        .mini-progress-card {
            background: linear-gradient(135deg, #fff5e6, #fffbf0);
            border: 2px solid #ffc107;
            border-radius: 8px;
            padding: 0.75rem;
            display: none;
        }

        .mini-progress-card.active {
            display: block;
        }

        .mini-progress-title {
            font-size: 0.8rem;
            font-weight: 700;
            color: #333;
            margin-bottom: 0.5rem;
        }

        .mini-progress-bar {
            height: 20px;
            background: #e9ecef;
            border-radius: 4px;
            overflow: hidden;
            margin-bottom: 0.5rem;
        }

        .mini-progress-bar .progress-bar {
            font-size: 0.65rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .mini-progress-text {
            font-size: 0.75rem;
            color: #666;
        }

        /* Required Items Section */
        .required-items-section {
            display: none;
        }

        .required-items-section.active {
            display: block;
        }

        .required-items-header {
            font-size: 0.85rem;
            font-weight: 600;
            color: #495057;
            margin-bottom: 0.75rem;
        }

        .required-items-list {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .required-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem;
            background: var(--light-color);
            border-radius: 4px;
            font-size: 0.8rem;
        }

        .required-item-icon {
            font-size: 0.85rem;
            min-width: 1rem;
        }

        .required-item-name {
            flex: 1;
            color: #333;
        }

        /* Bottom Modules Panel */
        .modules-panel {
            height: 250px;
            background: white;
            border-top: 2px solid #dee2e6;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }

        .modules-panel-header {
            padding: 1rem 1.5rem;
            background: var(--light-color);
            border-bottom: 1px solid #dee2e6;
            font-weight: 600;
            font-size: 0.9rem;
            color: #495057;
        }

        .modules-search {
            padding: 0.75rem 1.5rem;
            border-bottom: 1px solid #dee2e6;
        }

        .modules-search input {
            width: 100%;
            padding: 0.5rem;
            font-size: 0.85rem;
            border: 1px solid #dee2e6;
            border-radius: 4px;
        }

        .modules-list-container {
            flex: 1;
            overflow-x: auto;
            padding: 1rem 1.5rem;
            display: flex;
            gap: 1rem;
        }

        .module-section {
            flex-shrink: 0;
        }

        .module-section-title {
            font-size: 0.75rem;
            font-weight: 700;
            color: #666;
            margin-bottom: 0.5rem;
            text-transform: uppercase;
        }

        .courses-list {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .draggable-course {
            background: white;
            border: 2px solid #0d6efd;
            border-radius: 6px;
            padding: 0.5rem 0.75rem;
            cursor: grab;
            font-size: 0.8rem;
            white-space: nowrap;
            transition: all 0.2s ease;
            user-select: none;
        }

        .draggable-course:hover {
            background: #f0f7ff;
            transform: translateY(-2px);
            box-shadow: 0 2px 8px rgba(13, 110, 253, 0.2);
        }

        .draggable-course.dragging {
            opacity: 0.5;
            cursor: grabbing;
        }

        .draggable-course-name {
            font-weight: 600;
            color: #333;
        }

        .draggable-course-credits {
            font-size: 0.7rem;
            color: #666;
        }

        /* Empty state for modules */
        .modules-empty-state {
            padding: 1.5rem;
            text-align: center;
            color: #999;
        }