/* Advanced Bar Chart Generator Styles with Resizable Layout */

.chart-generator-container {
    max-width: 100%;
    margin: 0;
    padding: 6rem 0 2rem;
    background: #1a1a1a;
    color: #fff;
    min-height: 100vh;
}

.chart-header {
    text-align: center;
    margin-bottom: 1rem;
    padding: 0 1rem;
}

.chart-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.chart-header p {
    font-size: 1.1rem;
    color: #ccc;
}

/* Chart Type Navigation */
.chart-type-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.chart-nav-btn {
    background: #2c3e50;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.chart-nav-btn:hover {
    background: #34495e;
    transform: translateY(-2px);
}

.chart-nav-btn.active {
    background: #3498db;
}

/* Show Sidebar Button */
.show-sidebar-btn {
    position: fixed;
    top: 120px;
    left: 10px;
    background: #3498db;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    font-size: 0.9rem;
    z-index: 1000;
    transition: all 0.3s ease;
}

.show-sidebar-btn:hover {
    background: #2980b9;
}

/* Main Content Layout */
.main-content {
    display: flex;
    min-height: calc(100vh - 300px);
    position: relative;
}

/* Resizable Sidebar */
.sidebar {
    width: 40%;
    min-width: 250px;
    max-width: 50vw;
    background: #2c2c2c;
    overflow-y: auto;
    transition: transform 0.3s ease;
    border-right: 2px solid #444;
    position: relative;
    flex-shrink: 0;
}

.sidebar.hidden {
    transform: translateX(-100%);
    position: absolute;
    z-index: -1;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #34495e;
    position: sticky;
    top: 0;
    z-index: 10;
}

.sidebar-header h3 {
    margin: 0;
    color: #3498db;
    font-size: 1rem;
}

.sidebar-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.3rem;
    border-radius: 4px;
}

.sidebar-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Resizer Handle */
.resizer {
    width: 6px;
    background: #444;
    cursor: col-resize;
    position: relative;
    transition: background 0.3s ease;
    flex-shrink: 0;
}

.resizer:hover {
    background: #3498db;
}

.resizer::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 3px;
    height: 30px;
    background: #666;
    border-radius: 3px;
}

/* Sidebar Sections */
.sidebar > div {
    padding: 1rem;
    border-bottom: 1px solid #444;
}

.sidebar h4 {
    margin-bottom: 1rem;
    color: #e74c3c;
    font-size: 0.9rem;
}

/* Compact Button Styles */
.subtype-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 0.4rem;
}

.subtype-btn {
    background: #34495e;
    color: white;
    border: none;
    padding: 0.5rem 0.3rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

.subtype-btn:hover {
    background: #4a6741;
}

.subtype-btn.active {
    background: #27ae60;
}

/* Data Import Styles */
.import-controls {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.import-btn {
    background: #9b59b6;
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background 0.3s ease;
}

.import-btn:hover {
    background: #8e44ad;
}

.url-import {
    display: flex;
    gap: 0.3rem;
}

.url-import input {
    flex: 1;
    background: #1a1a1a;
    border: 1px solid #444;
    color: white;
    padding: 0.4rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.supported-formats {
    color: #999;
    font-size: 0.7rem;
    text-align: center;
}

/* Compact Form Controls */
.data-structure-controls {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.custom-group {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.custom-group label {
    font-weight: bold;
    color: #ccc;
    font-size: 0.8rem;
}

.custom-group input,
.custom-group select,
.custom-group textarea {
    background: #1a1a1a;
    border: 1px solid #444;
    color: white;
    padding: 0.4rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.custom-group input:focus,
.custom-group select:focus,
.custom-group textarea:focus {
    border-color: #3498db;
    outline: none;
}

/* Color Controls Layout */
.color-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.custom-group input[type="color"] {
    height: 35px;
    border-radius: 4px;
    cursor: pointer;
}

/* Compact Action Buttons */
.action-btn-sm {
    background: #3498db;
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background 0.3s ease;
}

.action-btn-sm:hover {
    background: #2980b9;
}

.input-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Series Labels */
.series-labels-container {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.series-label-input {
    background: #1a1a1a;
    border: 1px solid #444;
    color: white;
    padding: 0.4rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* Data Input Table */
.data-input-container {
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid #444;
    border-radius: 4px;
    padding: 0.3rem;
    background: #1a1a1a;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.75rem;
}

.data-table th,
.data-table td {
    border: 1px solid #444;
    padding: 0.2rem;
    text-align: center;
}

.data-table th {
    background: #34495e;
    color: white;
    font-size: 0.7rem;
}

.data-table input {
    background: transparent;
    border: none;
    color: white;
    width: 100%;
    padding: 0.1rem;
    font-size: 0.7rem;
}

/* Radio Group */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.radio-container {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    color: #ccc;
    font-size: 0.8rem;
}

/* Chart Area */
.chart-area {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    background: #1a1a1a;
    min-width: 0;
}

/* Responsive Chart Display */
.chart-display-area {
    margin-bottom: 2rem;
}

.chart-container,
.optional-chart-container {
    position: relative;
    background: white;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    width: 100%;
    height: 0;
    padding-bottom: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
}

.chart-container canvas,
.optional-chart-container canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: calc(100% - 2rem);
    max-height: calc(100% - 2rem);
}

.chart-branding {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    pointer-events: none;
}

/* Compact Export Buttons */
.chart-actions {
    background: #2c2c2c;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.chart-actions h3 {
    margin-bottom: 0.8rem;
    color: #e67e22;
    font-size: 1.1rem;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem;
}

.export-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.export-btn:hover {
    background: #c0392b;
    transform: translateY(-1px);
}

/* Share & Embed Section */
.share-embed-section {
    background: #2c2c2c;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.share-embed-section h3 {
    margin-bottom: 0.8rem;
    color: #9b59b6;
    font-size: 1.1rem;
}

.share-controls {
    display: grid;
    gap: 1rem;
}

.share-box,
.embed-box {
    background: #1a1a1a;
    padding: 0.8rem;
    border-radius: 4px;
    border-left: 4px solid #9b59b6;
}

.share-box label,
.embed-box label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: bold;
    color: #ccc;
    font-size: 0.9rem;
}

.input-with-button {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 0.4rem;
}

.input-with-button input,
.input-with-button textarea {
    flex: 1;
    background: #2c2c2c;
    border: 1px solid #444;
    color: white;
    padding: 0.4rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.input-with-button textarea {
    resize: vertical;
    font-family: monospace;
}

.copy-btn {
    background: #27ae60;
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    white-space: nowrap;
}

.copy-btn:hover {
    background: #219a52;
}

/* Analysis Section */
.analysis-section {
    background: #2c2c2c;
    padding: 1rem;
    border-radius: 8px;
}

.analysis-section h3 {
    margin-bottom: 0.8rem;
    color: #1abc9c;
    font-size: 1.1rem;
}

.analysis-content {
    background: #1a1a1a;
    padding: 1rem;
    border-radius: 4px;
    border-left: 4px solid #1abc9c;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Success/Error Messages */
.success-message {
    background: #27ae60;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin: 0.5rem 0;
    font-size: 0.8rem;
    display: inline-block;
}

.error-message {
    background: #e74c3c;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin: 0.5rem 0;
    font-size: 0.8rem;
    display: inline-block;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '⏳ Processing...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    z-index: 1000;
}

/* Hidden state for non-applicable options */
.hidden-option {
    display: none !important;
}

/* Data Scanning Mode Styles */
.data-scan-mode {
    margin: 0.5rem 0;
    padding: 0.5rem;
    background: #1a1a1a;
    border-radius: 4px;
    border-left: 4px solid #e74c3c;
}

.data-scan-mode label {
    font-weight: bold;
    color: #ccc;
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
    display: block;
}

.scan-mode-info {
    margin-top: 0.5rem;
}

.scan-mode-info p {
    font-size: 0.7rem;
    color: #999;
    line-height: 1.3;
    margin: 0;
}

/* Radio Group Enhancements */
.radio-container input[type="radio"] {
    margin: 0;
    cursor: pointer;
}

.radio-container:hover {
    color: #fff;
}

/* Success/Error Messages Enhancement */
.message-container {
    position: fixed;
    top: 120px;
    right: 20px;
    z-index: 2000;
    max-width: 300px;
}

.success-message, .error-message {
    padding: 0.8rem 1rem;
    border-radius: 6px;
    margin: 0.5rem 0;
    font-size: 0.8rem;
    display: block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.success-message {
    background: #27ae60;
    color: white;
    border-left: 4px solid #2ecc71;
}

.error-message {
    background: #e74c3c;
    color: white;
    border-left: 4px solid #c0392b;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Data Import Enhancement */
.import-btn:hover {
    background: #8e44ad;
    transform: translateY(-1px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .chart-generator-container {
        padding: 5rem 0 1rem;
    }

    .main-content {
        flex-direction: column;
        min-height: auto;
        position: relative;
    }

    /* Mobile Overlay Sidebar */
    .sidebar {
        position: fixed;
        top: 80px; /* Below the header */
        left: 0;
        right: 0;
        width: 100vw;
        max-width: 100vw;
        min-width: 100vw;
        max-height: 80vh; /* Take up most of the screen but leave some space */
        background: rgba(44, 44, 44, 0.98); /* Semi-transparent background */
        backdrop-filter: blur(10px); /* Blur effect for modern browsers */
        z-index: 2000; /* High z-index to appear above everything */
        border: none;
        border-bottom: 3px solid #3498db;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
        transform: translateY(-100%);
        transition: transform 0.3s ease-in-out;
        order: 1; /* Ensure it's first in the layout order */
    }

    .sidebar.hidden {
        transform: translateY(-100%);
    }

    .sidebar:not(.hidden) {
        transform: translateY(0);
    }

    /* Mobile Sidebar Header Enhancement */
    .sidebar-header {
        background: linear-gradient(90deg, #3498db, #2980b9);
        padding: 1.2rem;
        border-bottom: 2px solid #2980b9;
        position: sticky;
        top: 0;
        z-index: 10;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    .sidebar-header h3 {
        color: white;
        font-size: 1.1rem;
        text-align: center;
        margin: 0;
    }

    .sidebar-toggle {
        background: rgba(255, 255, 255, 0.2);
        border: 2px solid white;
        color: white;
        font-size: 1.1rem;
        cursor: pointer;
        padding: 0.5rem 0.8rem;
        border-radius: 6px;
        font-weight: bold;
        transition: all 0.3s ease;
    }

    .sidebar-toggle:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1.05);
    }

    /* Resizer hidden on mobile */
    .resizer {
        display: none;
    }

    /* Chart area adjustments */
    .chart-area {
        order: 2;
        padding: 0.5rem;
        margin-top: 0;
    }

    /* Show sidebar button enhancement */
    .show-sidebar-btn {
        position: fixed;
        top: 90px;
        right: 15px;
        left: auto;
        background: linear-gradient(135deg, #3498db, #2980b9);
        color: white;
        border: none;
        padding: 0.8rem 1.2rem;
        border-radius: 25px;
        cursor: pointer;
        font-size: 0.9rem;
        font-weight: bold;
        z-index: 1500;
        box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
        transition: all 0.3s ease;
        transform: scale(1);
    }

    .show-sidebar-btn:hover {
        background: linear-gradient(135deg, #2980b9, #3498db);
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(52, 152, 219, 0.6);
    }

    /* Add overlay backdrop when sidebar is open */
    .main-content::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.3);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .main-content.sidebar-open::before {
        opacity: 1;
        visibility: visible;
    }

    /* Scrollable sidebar content */
    .sidebar > div:not(.sidebar-header) {
        padding: 0.8rem;
        border-bottom: 1px solid #555;
    }

    .sidebar h4 {
        font-size: 0.9rem;
        color: #3498db;
        margin-bottom: 0.8rem;
    }

    /* Navigation buttons */
    .chart-nav-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        margin: 0.2rem;
    }

    /* Form controls */
    .subtype-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.3rem;
    }

    .subtype-btn {
        padding: 0.6rem 0.4rem;
        font-size: 0.8rem;
    }

    /* Action buttons */
    .action-buttons {
        grid-template-columns: 1fr 1fr;
        gap: 0.4rem;
    }

    .export-btn {
        padding: 0.6rem 0.5rem;
        font-size: 0.8rem;
    }

    /* Share controls */
    .share-controls {
        grid-template-columns: 1fr;
    }

    .color-row {
        grid-template-columns: 1fr;
    }

    .input-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Smaller mobile devices */
@media (max-width: 480px) {
    .sidebar {
        top: 70px;
        max-height: 85vh;
    }

    .show-sidebar-btn {
        top: 80px;
        right: 10px;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .chart-header h1 {
        font-size: 1.8rem;
    }

    .chart-nav-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }

    .sidebar-header {
        padding: 1rem;
    }

    .sidebar-header h3 {
        font-size: 1rem;
    }

    .sidebar h4 {
        font-size: 0.85rem;
    }

    .subtype-btn {
        padding: 0.5rem 0.3rem;
        font-size: 0.75rem;
    }

    .export-btn {
        padding: 0.5rem 0.4rem;
        font-size: 0.75rem;
    }

    .data-scan-mode {
        padding: 0.3rem;
    }

    .scan-mode-info p {
        font-size: 0.65rem;
    }

    .radio-container {
        font-size: 0.75rem;
    }

    .message-container {
        right: 10px;
        max-width: calc(100vw - 20px);
    }
}
/* Enhanced Color Customization Styles - Add these to your existing CSS file */

/* Color Customization Section */
.color-customization-section {
    background: #2c2c2c;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 4px solid #e74c3c;
}

.color-customization-section h5 {
    color: #e74c3c;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: bold;
}

.color-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

/* Color Scheme Preview */
.color-scheme-preview {
    display: flex;
    gap: 0.2rem;
    margin: 0.5rem 0;
    height: 20px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #444;
}

.color-preview-item {
    flex: 1;
    height: 100%;
    transition: transform 0.2s ease;
}

.color-preview-item:hover {
    transform: scaleY(1.2);
}

/* Background Opacity Display */
#backgroundOpacityValue {
    color: #3498db;
    font-weight: bold;
    margin-left: 0.5rem;
    min-width: 20px;
    display: inline-block;
}

/* Enhanced Button Styles */
.action-btn-sm.gradient {
    background: linear-gradient(135deg, #FF6384, #36A2EB);
    color: white;
}

.action-btn-sm.vibrant {
    background: linear-gradient(135deg, #FF0080, #00FF80);
    color: white;
}

.action-btn-sm.pastel {
    background: linear-gradient(135deg, #FFB3BA, #BAFFC9);
    color: #333;
}

.action-btn-sm.monochrome {
    background: linear-gradient(135deg, #2C3E50, #BDC3C7);
    color: white;
}

/* Gradient Controls Styling */
#gradientControls {
    background: #1a1a1a;
    padding: 0.8rem;
    border-radius: 6px;
    margin: 0.5rem 0;
    border: 1px solid #444;
}

#gradientControls .color-row {
    gap: 1rem;
}

#gradientControls input[type="color"] {
    width: 100%;
    height: 40px;
    border-radius: 6px;
    border: 2px solid #444;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

#gradientControls input[type="color"]:hover {
    border-color: #3498db;
}

/* Animation for color scheme changes */
.color-scheme-preview {
    animation: colorFadeIn 0.5s ease-in-out;
}

@keyframes colorFadeIn {
    from {
        opacity: 0;
        transform: scaleY(0.5);
    }
    to {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* Enhanced action buttons with icons */
.action-btn-sm {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.action-btn-sm:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.action-btn-sm:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Color input enhancements */
input[type="color"] {
    transition: all 0.3s ease;
}

input[type="color"]:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Range input styling for opacity */


input[type="range"]::-webkit-slider-track {
    background: #444;
    height: 4px;
    border-radius: 2px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    background: #3498db;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    background: #2980b9;
    transform: scale(1.2);
}

input[type="range"]::-moz-range-track {
    background: #444;
    height: 4px;
    border-radius: 2px;
    border: none;
}

input[type="range"]::-moz-range-thumb {
    background: #3498db;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

input[type="range"]::-moz-range-thumb:hover {
    background: #2980b9;
    transform: scale(1.2);
}

/* Mobile Responsiveness for Enhanced Color Controls */
@media (max-width: 768px) {
    .color-customization-section {
        padding: 0.8rem;
        margin: 0.5rem 0;
    }
    
    .color-row {
        grid-template-columns: 1fr;
        gap: 0.3rem;
    }
    
    .color-scheme-preview {
        height: 16px;
        margin: 0.3rem 0;
    }
    
    #gradientControls {
        padding: 0.5rem;
    }
    
    #gradientControls input[type="color"] {
        height: 35px;
    }
    
    .input-actions {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .action-btn-sm {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    #backgroundOpacityValue {
        font-size: 0.9rem;
    }
}

/* Smaller mobile devices */
@media (max-width: 480px) {
    .color-customization-section h5 {
        font-size: 0.8rem;
    }
    
    .color-scheme-preview {
        height: 14px;
    }
    
    input[type="range"] {
        width: 100%;
    }
    
    #backgroundOpacityValue {
        font-size: 0.8rem;
        margin-left: 0.3rem;
    }
}

/* Loading and transition states */
.color-loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.color-loading::after {
    content: '🎨 Applying colors...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    z-index: 1000;
}

/* Success feedback for color changes */
.color-success {
    animation: colorSuccess 0.6s ease-in-out;
}

@keyframes colorSuccess {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); background-color: #27ae60; }
    100% { transform: scale(1); }
}
