/* Color Picker Styles */
.tools-section {
    /* padding: 40px 0; */
    /* background-color: #f8f9fa; */
}

.tool-hero {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* .color-picker-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 24px;
    margin-top: 30px;
} */

.upload-area {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 24px;
}

.upload-area:hover {
    border-color: #007bff;
    background-color: rgba(0, 123, 255, 0.05);
}

.upload-area.drag-over {
    border-color: #28a745;
    background-color: rgba(40, 167, 69, 0.05);
}

.upload-icon {
    font-size: 48px;
    color: #6c757d;
    margin-bottom: 16px;
}

.upload-text {
    color: #495057;
    margin-bottom: 8px;
}

.image-preview {
    max-width: 50%;
    margin: 20px 0;
    border-radius: 8px;
    display: none;
    margin: auto;
}

.color-palette {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.color-swatch {
    aspect-ratio: 1;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease;
    position: relative;
}

.color-swatch:hover {
    transform: scale(1.05);
}



.color-formats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.format-item {
    background: #e9ecef;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.format-item:hover {
    background: #b3b6b9;
}

.copy-button {
    background: #007bff;
    color: white;
    border: none;
    padding: 18px 26px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.copy-button:hover {
    background: #0056b3;
}

.tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.tooltip.show {
    opacity: 1;
}