
    .color-label {
        display: block;
        margin-bottom: 12px;
        font-weight: 500;
        color: #2c3e50;
        font-size: 16px;
    }
    
    .color-field {
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: white;
      border-radius: var(--radius-lg);
      padding: var(--space-1);
      border: var(--border-width-thick) solid var(--border-grey);
      cursor: pointer;
      transition: transform 0.2s, box-shadow 0.2s;
      position: relative;
      z-index: 10;
    }
    
    .color-field:hover {
      transform: translateY(-2px);
      box-shadow:  var(--shadow);
    }
    
    .color-preview {
      width: 50px;
      height: 50px;
      border-radius: var(--radius-md);
      border: 2px solid #f0f0f0;
    }
    
    .color-value {
      font-size: 18px;
      font-weight: 600;
      color: #2c3e50;
    }
    
    .color-picker-container {
      position: relative;
      width: 100%;
    }
    
    .color-picker {
      background: white;
      border-radius: 12px;
      padding: 20px;
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
      position: absolute;
      top: calc(100% + 10px);
      left: 0;
      width: 100%;
      z-index: 20;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-10px);
      transition: all 0.3s ease;
    }
    
    .picker-active {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }
    
    .color-options {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 12px;
      margin-bottom: 20px;
    }
    
    .color-option {
      width: 100%;
      height: 40px;
      border-radius: 8px;
      cursor: pointer;
      transition: transform 0.2s;
      border: 2px solid transparent;
    }
    
    .color-option:hover {
      transform: scale(1.05);
    }
    
    
    .custom-color {
      display: flex;
      align-items: center;
      margin-top: 15px;
    }

    input[type="color"] {
      width: 60px;
      height: 60px;
      border: none;
      border-radius: 10px;
      background: none;
      cursor: pointer;
      margin-right: 15px;
    }
    
    input[type="text"]:focus {
      border-color: #3498db;
    }
    
    .instructions {
      margin-top: 25px;
      font-size: 14px;
      color: #7f8c8d;
      line-height: 1.5;
    }
    
    .generator-controls {
      background: white;
      border-radius: 12px;
      padding: 20px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      margin-bottom: 30px;
    }

    
    @media (max-width: 480px) {
    
      .color-options {
        grid-template-columns: repeat(3, 1fr);
      }
      
      .color-field {
        padding: 12px;
      }
      
      .color-preview {
        width: 40px;
        height: 40px;
      }
      
      
    }



    .color-field-error {
    border: 2px solid red !important;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.3);
}

.color-field-container {
    border: 2px solid transparent;
    padding: 0 10px;
    transition: border-color 0.3s ease;
}

.color-field {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 2px solid var(--text-secondary);
    border-radius: 6px;
    cursor: pointer;
    background: var(--text-color);
}

.color-field:hover {
    border-color: #007bff;
}

.color-preview {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #eee;
}

.color-value {
    font-family: monospace;
    font-weight: bold;
}

/* .color-picker {
    display: none;
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    margin-top: 5px;
} */

.picker-active .color-picker {
    display: block;
}

.color-options {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin-bottom: 15px;
}

.color-option {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.color-option:hover {
    transform: scale(1.1);
    border-color: #007bff;
}

.color-option.selected {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.3);
}

.custom-color {
    display: flex;
    gap: 10px;
    align-items: center;
}

.custom-color input[type="color"] {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.custom-color input[type="text"] {
    padding: 8px 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-family: monospace;
    width: 100px;
}

.custom-color input[type="text"]:focus {
    border-color: #007bff;
    outline: none;
}