/* ===================================
   반응형 스타일 - Responsive Styles
   ================================== */

/* 태블릿 및 모바일 (768px 이하) */
@media (max-width: 768px) {
    /* 컨트롤 패널 */
    .color-controls {
        bottom: 10px;
        transform: none;
    }
    
    /* 색상 슬라이더 */
    .color-slider {
        width: 100%;
        height: 70px;
    }
    
    .color-item {
        min-width: 50px;
        height: 50px;
        font-size: 9px;
    }
    
    .color-item.active {
        min-width: 65px;
        height: 60px;
    }
    
    /* 네비게이션 버튼 */
    .color-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    /* 색상 정보 */
    .color-info {
        font-size: 12px;
    }
    
    .color-name {
        font-size: 14px;
    }
    
    .color-hex {
        font-size: 10px;
    }
    
    /* 버튼들 */
    .color-button, 
    .node-button {
        width: 50px;
        height: 50px;
        font-size: 9px;
    }
    
    /* 디버그 패널 */
    .debug-panel {
        font-size: 10px;
        padding: 10px;
        max-width: 200px;
    }
    
    /* 알림 */
    .notification {
        font-size: 12px;
        padding: 12px 15px;
        max-width: 250px;
    }
}

/* 소형 모바일 (480px 이하) */
@media (max-width: 480px) {
    /* 로딩 */
    .loading {
        font-size: 16px;
        padding: 15px;
    }
    
    /* 컨트롤 패널 */
    .color-controls {
        left: -5px;
        right: -5px;
        gap: 12px;
    }
    
    /* 색상 슬라이더 */
    .color-slider {
        height: 60px;
    }
    
    .color-item {
        min-width: 45px;
        height: 45px;
        font-size: 8px;
        margin: 0 3px;
    }
    
    .color-item.active {
        min-width: 55px;
        height: 55px;
    }
    
    /* 네비게이션 */
    .color-nav {
        gap: 15px;
    }
    
    .color-nav-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    /* 색상 정보 */
    .color-info {
        font-size: 11px;
    }
    
    .color-name {
        font-size: 13px;
    }
    
    .color-hex {
        font-size: 9px;
    }
    
    /* 버튼들 */
    .color-button, 
    .node-button {
        width: 45px;
        height: 45px;
        font-size: 8px;
    }
    
    /* 디버그 패널 */
    .debug-panel {
        font-size: 9px;
        padding: 8px;
        max-width: 180px;
    }
    
    /* 알림 */
    .notification {
        font-size: 11px;
        padding: 10px 12px;
        max-width: 200px;
        top: 10px;
        right: 10px;
    }
}

/* 가로 모드 */
@media (orientation: landscape) and (max-height: 500px) {
    .color-controls {
        bottom: 5px;
        /* padding: 10px; */
        gap: 10px;
    }
    
    .color-slider {
        height: 50px;
    }
    
    .color-item {
        min-width: 40px;
        height: 40px;
        font-size: 8px;
    }
    
    .color-item.active {
        min-width: 50px;
        height: 45px;
    }
    
    .color-nav-btn {
        width: 25px;
        height: 25px;
        font-size: 10px;
    }
    
    .color-button, 
    .node-button {
        width: 40px;
        height: 40px;
        font-size: 7px;
    }
}

/* 큰 화면 (1200px 이상) */
@media (min-width: 1200px) {
    .color-controls {
        /* padding: 25px; */
        gap: 20px;
    }
    
    .color-slider {
        width: 350px;
        height: 90px;
    }
    
    .color-item {
        min-width: 70px;
        height: 70px;
        font-size: 11px;
    }
    
    .color-item.active {
        min-width: 90px;
        height: 80px;
    }
    
    .color-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .color-info {
        font-size: 16px;
    }
    
    .color-name {
        font-size: 18px;
    }
    
    .color-hex {
        font-size: 14px;
    }
    
    .color-button, 
    .node-button {
        width: 70px;
        height: 70px;
        font-size: 11px;
    }
    
    .debug-panel {
        font-size: 14px;
        padding: 20px;
        max-width: 300px;
    }
    
    .notification {
        font-size: 16px;
        padding: 18px 25px;
        max-width: 350px;
    }
} 