#color-picker-container {
    margin-bottom: 15px;
}

.char-options {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.color-picker-wrapper {
    display: flex;
    gap: 8px;
}

.sv-picker {
    flex: 1;
    height: 150px;
    border-radius: 8px;
    position: relative;
    cursor: crosshair;
    overflow: hidden;
}

.sv-white-overlay {
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,1), transparent);
}

.sv-black-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,1));
}

.sv-picker-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid white;
    position: absolute;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 4px rgba(0,0,0,0.5);
}

.h-picker {
    width: 32px;
    height: 150px;
    border-radius: 8px;
    background: linear-gradient(to bottom, hsl(0,100%,50%), hsl(60,100%,50%), hsl(120,100%,50%), hsl(180,100%,50%), hsl(240,100%,50%), hsl(300,100%,50%), hsl(360,100%,50%));
    cursor: crosshair;
    position: relative;
}

.h-picker-line {
    width: 100%;
    height: 4px;
    background: white;
    position: absolute;
    transform: translateY(-50%);
    box-shadow: 0 0 2px rgba(0,0,0,0.5);
}

.current-color-preview {
    width: 100%;
    height: 100px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.preset-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.preset-item {
    width: 60px;
    text-align: center;
    cursor: pointer;
}

.preset-color {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.2s;
    margin: 0 auto;
}

.preset-item:hover .preset-color {
    border-color: #7c3aed;
    transform: scale(1.05);
}

.preset-name {
    font-size: 11px;
    color: #6b7280;
    display: block;
    margin-top: 4px;
}

.palette-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.palette-item {
    text-align: center;
}

.palette-color {
    width: 100%;
    height: 40px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.palette-color:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.palette-hex {
    font-size: 11px;
    margin-top: 4px;
    display: block;
    font-family: 'Consolas', monospace;
    color: #6b7280;
}

.color-formats {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.format-item {
    background: #f9fafb;
    padding: 12px;
    border-radius: 8px;
}

.format-label {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
}

.format-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.format-value {
    flex: 1;
    font-family: 'Consolas', monospace;
    font-size: 14px;
    color: #d4d4d4;
    background: #1e1e1e;
    padding: 6px 10px;
    border-radius: 4px;
}

.opacity-slider {
    display: flex;
    align-items: center;
    gap: 12px;
}

.opacity-range {
    flex: 1;
    height: 8px;
    cursor: pointer;
    accent-color: #7c3aed;
}

.opacity-value {
    min-width: 50px;
    text-align: right;
    font-family: 'Consolas', monospace;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.info-item {
    background: #f9fafb;
    padding: 12px;
    border-radius: 8px;
}

.info-label {
    font-size: 12px;
    color: #6b7280;
    display: block;
    margin-bottom: 4px;
}

.info-value {
    font-family: 'Consolas', monospace;
    font-size: 14px;
    color: #374151;
}

.complementary-color {
    display: flex;
    align-items: center;
    gap: 8px;
}

.comp-color-preview {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.comp-color-hex {
    font-family: 'Consolas', monospace;
    font-size: 13px;
    color: #374151;
}

.color-schemes {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.scheme-item {
    background: #f9fafb;
    padding: 12px;
    border-radius: 8px;
}

.scheme-name {
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.scheme-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.scheme-color-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.scheme-color {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.scheme-color-hex {
    font-size: 11px;
    font-family: 'Consolas', monospace;
    color: #6b7280;
}

.scheme-color:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #7c3aed;
}

.error-box {
    padding: 12px 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #dc2626;
    font-size: 13px;
    margin-bottom: 16px;
}