﻿@import '../Styles/styles.scss';

ColorSelector {
  margin: 0 auto;
  width: 732px;
  border-radius: 4px;
  flex-direction: column;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 16px;
  color: #e1e1e1;
  
  .color-selector-title {
    font-size: 42px;
    font-family: $font-secondary;
  }

  .affected-cosmetics {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;

    .label {
      font-size: 18px;
      font-weight: bold;
      color: rgba(225, 225, 225, 0.85);
    }

    .empty,
    .skin-info {
      font-size: 17px;
      color: rgba(225, 225, 225, 0.55);
      background-color: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 4px;
      padding: 8px 10px;
    }

    .chips {
      gap: 6px;
      flex-wrap: wrap;
    }

    .chip {
      align-items: center;
      gap: 6px;
      background-color: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 4px;
      padding: 4px 8px 4px 4px;

      > img {
        width: 26px;
        height: 26px;
        background-size: contain;
        background-repeat: no-repeat;
      }

      > label {
        font-size: 15px;
        color: #e1e1e1;
      }
    }
  }

  .color-selector {
    &.disabled {
      opacity: 0.5;
      pointer-events: none;
    }
  }
  
  .buttons {
    margin-top: 6px;
    font-size: 24px;
    width: 100%;
    padding: 8px;
    gap: 8px;
    justify-content: flex-end;
    font-weight: bold;
    
    > button {
      height: 40px;
      align-items: center;
      padding: 4px 8px 0 16px;
      border-radius: 4px;
      gap: 4px;
      background-color: rgba(255, 255, 255, 0.6);
      color: black;
      
      &:hover {
        background-color: rgba(255, 255, 255, 0.4);
        transform: scale(1.02);
      }
      
      &:first-child {
        background-color: transparent;
        border: 1px solid #e1e1e1;
        color: #e1e1e1;
      }
    }
  }
}
