/* 컬러 팔레트 전용 추가 스타일 */
.palette {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 1rem;
  }
  
  .color-box {
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: bold;
    text-align: center;
    padding: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
  }
  
  .color-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  }
  
  .color-box span {
    font-size: 0.8rem;
    user-select: none;
    margin: 2px 0;
  }
  
  .history-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 0.5rem;
  }
  
  .history-item {
    border: 1px solid var(--gray-300);
    padding: 8px;
    border-radius: var(--border-radius);
    cursor: pointer;
    display: flex;
    gap: 5px;
    background-color: var(--gray-100);
    transition: var(--transition);
  }
  
  .history-item:hover {
    background-color: var(--gray-200);
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  }
  
  .history-color-box {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }
  
  .alert {
    background: var(--dark);
    color: white;
    padding: 10px 16px;
    position: fixed;
    top: 20px;
    right: 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: var(--border-radius);
    z-index: 9999;
    font-size: 0.9rem;
    box-shadow: var(--box-shadow);
    border-left: 3px solid var(--primary);
  }
  
  .alert.show {
    opacity: 1;
    animation: fadeIn 0.3s ease;
  }
  
  @media (max-width: 768px) {
    .color-box {
      width: 70px;
      height: 70px;
    }
  }
  
  @media (max-width: 576px) {
    .color-box {
      width: 60px;
      height: 60px;
    }
    
    .history-color-box {
      width: 16px;
      height: 16px;
    }
  }