        .control-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 20px;
            background: rgba(0, 0, 0, 0.7);
            border-radius: 0 0 12px 12px;
        }
        
        .switch {
            position: relative;
            display: inline-block;
            width: 60px;
            height: 30px;
            margin-right: 10px;
        }
        
        .switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }
        
        .slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #6f7378;
            transition: .4s;
            border-radius: 34px;
        }
        
        .slider:before {
            position: absolute;
            content: "";
            height: 22px;
            width: 22px;
            left: 4px;
            bottom: 4px;
            background-color: #f0f0f0;
            transition: .4s;
            border-radius: 50%;
        }
        
        input:checked + .slider {
            background-color: #00a1d6;
        }
        
        input:checked + .slider:before {
            transform: translateX(30px);
        }
	#switchStatus {
            color: #212529;
            font-weight: bold;
            margin-left: 8px;
            transition: color 0.3s ease;
        }

.view-toggle {
  bottom: 0;
  right: 0;
}

/* On small screens (≤ 768px), move to top right */
@media (max-width: 768px) {
  .view-toggle {
    top: 0;
    bottom: auto;
    right: 0;
  }
}
