.cc-root {
    width: 100%;
  }

  .cc-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem;
  }

  @media (min-width: 1024px) {
    .cc-container {
      grid-template-columns: 1.2fr 0.8fr;
    }
  }

  .cc-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1.5rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
  }

  .theme-dark .cc-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  }

  .cc-input-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cc-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .cc-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .cc-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: rgb(100, 116, 139);
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .theme-dark .cc-label {
    color: rgb(148, 163, 184);
  }

  .cc-text-input {
    width: 100%;
    background: rgba(248, 250, 252, 0.8);
    border: 1px solid rgb(203, 213, 225);
    border-radius: 0.75rem;
    color: rgb(30, 41, 59);
    padding: 0.75rem 1rem;
    font-size: 1.125rem;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
  }

  .theme-dark .cc-text-input {
    background: rgba(15, 23, 42, 0.5);
    border-color: rgb(51, 65, 85);
    color: rgb(241, 245, 249);
  }

  .cc-text-input:focus {
    border-color: rgb(99, 102, 241);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
  }

  .cc-copy-badge {
    background: rgb(241, 245, 249);
    border: 1px solid rgb(226, 232, 240);
    color: rgb(100, 116, 139);
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    transition: all 0.2s ease;
  }

  .theme-dark .cc-copy-badge {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgb(148, 163, 184);
  }

  .cc-copy-badge:hover {
    background: rgb(238, 242, 255);
    border-color: rgb(99, 102, 241);
    color: rgb(79, 70, 229);
    transform: translateY(-1px);
  }

  .theme-dark .cc-copy-badge:hover {
    background: rgba(99, 102, 241, 0.1);
  }

  .cc-copy-badge.cc-copied,
  .cc-copy-badge.cc-copied:hover {
    background: rgb(240, 253, 244);
    border-color: rgb(34, 197, 94);
    color: rgb(22, 163, 74);
    transform: none;
  }

  .theme-dark .cc-copy-badge.cc-copied,
  .theme-dark .cc-copy-badge.cc-copied:hover {
    background: rgba(34, 197, 94, 0.1);
  }

  .cc-sliders {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .cc-slider-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .cc-slider-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgb(148, 163, 184);
  }

  .cc-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: rgb(226, 232, 240);
    border-radius: 3px;
    outline: none;
  }

  .theme-dark .cc-range {
    background: rgb(51, 65, 85);
  }

  .cc-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: rgb(99, 102, 241);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.1s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }

  .cc-range:active::-webkit-slider-thumb {
    transform: scale(1.2);
  }

  .cc-preview-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .cc-main-preview {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 1.25rem;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: background-color 0.2s ease;
    cursor: pointer;
  }

  .theme-dark .cc-main-preview {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  }

  .cc-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    padding: 1rem;
    color: rgb(255, 255, 255);
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .cc-harmony-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .cc-harmony-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
  }

  .cc-harmony-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }

  .cc-harmony-color {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: transform 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }

  .cc-harmony-color:hover {
    transform: scale(1.08);
  }

  .cc-harmony-label {
    font-size: 0.6rem;
    font-weight: 700;
    color: rgb(148, 163, 184);
    text-transform: uppercase;
    text-align: center;
  }