

        .reset-btn {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 1rem;
            background: white;
            border: 2px solid #e5e7eb;
            border-radius: 0.5rem;
            font-weight: 600;
            color: #374151;
            cursor: pointer;
            transition: all 0.2s;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }

        .reset-btn:hover {
            background: #f9fafb;
        }

        .main-layout {
            display: flex;
            gap: 1.5rem;
        }

        .sidebar {
            width: 320px;
            flex-shrink: 0;
        }

        .sidebar-content {
            background: white;
            border-radius: 1rem;
            padding: 1.5rem;
            box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
            position: sticky;
            top: 1rem;
        }

        .sidebar h2 {
            font-size: 1.25rem;
            color: #1f2937;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .available-rowers {
            max-height: calc(100vh - 250px);
            overflow-y: auto;
            padding: 1rem;
            border: 2px dashed #d1d5db;
            border-radius: 0.5rem;
            background: #f9fafb;
            min-height: 400px;
        }

        .available-rowers.drag-over {
            border-color: #3b82f6;
            background: #eff6ff;
        }

        .rower-card {
            background: white;
            border: 2px solid #e5e7eb;
            border-radius: 0.5rem;
            padding: 0.75rem;
            margin-bottom: 0.5rem;
            cursor: move;
            transition: all 0.2s;
            box-shadow: 0 1px 2px rgba(0,0,0,0.05);
        }

        .rower-card:hover {
            border-color: #3b82f6;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }

        .rower-card.dragging {
            opacity: 0.5;
        }

        .rower-name {
            font-weight: 600;
            color: #1f2937;
        }

        .rower-side {
            font-size: 0.75rem;
            color: #6b7280;
            margin-top: 0.25rem;
        }

        .status-box {
            margin-top: 1rem;
            padding: 0.75rem;
            background: #eff6ff;
            border: 1px solid #bfdbfe;
            border-radius: 0.5rem;
            font-size: 0.875rem;
            color: #374151;
        }

        .boat-container {
            flex: 1;
        }

        .boat-content {
            background: white;
            border-radius: 1rem;
            padding: 2rem;
            box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
            position: relative;
            overflow: hidden;
        }

        .water-bg {
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, #bfdbfe 0%, #a5f3fc 50%, #bfdbfe 100%);
            opacity: 0.1;
        }

        .boat-inner {
            position: relative;
        }

        .direction-indicator {
            display: flex;
            justify-content: center;
            margin-bottom: 2rem;
        }

        .direction-badge {
            background: linear-gradient(90deg, #2563eb 0%, #0891b2 100%);
            color: white;
            padding: 0.75rem 1.5rem;
            border-radius: 9999px;
            font-weight: bold;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            box-shadow: 0 10px 15px -3px rgba(0,0,0,0.2);
        }

        .boat-visual {
            position: relative;
            max-width: 1100px;
            margin: 0 auto;
        }

        .boat-svg {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            width: 600px;
            height: 100%;
            pointer-events: none;
        }

        .seats-container {
            position: relative;
            padding: 3rem 0;
        }

        .seat-row {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 0.75rem;
            justify-content: center;
        }

        .seat-slot {
            width: 150px;
        }

        .seat-slot.left {
            display: flex;
            justify-content: flex-end;
        }

        .seat-slot.right {
            display: flex;
            justify-content: flex-start;
        }

        .seat-drop-zone {
            width: 100%;
            border: 2px dashed #d1d5db;
            border-radius: 0.5rem;
            padding: 0.75rem;
            background: rgba(255, 255, 255, 0.5);
            transition: all 0.2s;
            min-height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .seat-drop-zone.drag-over {
            border-color: #3b82f6;
            background: #eff6ff;
        }

        .seat-drop-zone.stroke.filled {
            border: 2px solid #3b82f6;
            background: #dbeafe;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }

        .seat-drop-zone.bow.filled {
            border: 2px solid #22c55e;
            background: #dcfce7;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }

        .seat-rower {
            cursor: move;
            width: 100%;
        }

        .seat-rower.dragging {
            opacity: 0.5;
        }

        .seat-rower-name {
            font-weight: bold;
            font-size: 0.875rem;
            color: #1f2937;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .seat-rower-side {
            font-size: 0.75rem;
            color: #4b5563;
        }

        .seat-number {
            flex-shrink: 0;
            width: 80px;
            text-align: center;
        }

        .seat-number-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: linear-gradient(135deg, #2563eb 0%, #0891b2 100%);
            color: white;
            font-weight: bold;
            font-size: 1.125rem;
            box-shadow: 0 4px 6px rgba(0,0,0,0.2);
        }

        .empty-text {
            font-size: 0.75rem;
            color: #9ca3af;
            text-align: center;
        }

        .cox-section {
            display: flex;
            justify-content: center;
            padding-top: 2rem;
            margin-top: 1rem;
            border-top: 2px dashed #d1d5db;
        }

        .cox-container {
            width: 256px;
        }

        .cox-label {
            text-align: center;
            margin-bottom: 0.5rem;
            font-weight: bold;
            color: #374151;
        }

        .cox-drop-zone {
            border: 2px dashed #d1d5db;
            border-radius: 0.5rem;
            padding: 1rem;
            background: rgba(255, 255, 255, 0.5);
            transition: all 0.2s;
            min-height: 70px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .cox-drop-zone.drag-over {
            border-color: #a855f7;
            background: #faf5ff;
        }

        .cox-drop-zone.filled {
            border: 2px solid #a855f7;
            background: #f3e8ff;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }

        .cox-rower {
            cursor: move;
            text-align: center;
            width: 100%;
        }

        .cox-rower.dragging {
            opacity: 0.5;
        }

        .cox-rower-name {
            font-weight: bold;
            color: #1f2937;
        }

        .side-legend {
            display: flex;
            justify-content: center;
            gap: 4rem;
            align-items: center;
            margin-top: 1.5rem;
        }

        .legend-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .legend-color {
            width: 16px;
            height: 16px;
            border-radius: 0.25rem;
        }

        .legend-color.stroke {
            background: #3b82f6;
        }

        .legend-color.bow {
            background: #22c55e;
        }

        .legend-text {
            font-size: 0.875rem;
            font-weight: 600;
            color: #374151;
        }

        .empty-message {
            text-align: center;
            color: #9ca3af;
            padding: 2rem;
        }