/* Color Scheme Generator Styles */

.color-picker-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
}

.color-picker-section label {
    display: block;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    font-size: 1.1em;
}

.picker-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

#colorPicker {
    width: 100px;
    height: 40px;
    border: 2px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    background: none;
    padding: 0;
}

#colorPicker::-webkit-color-swatch-wrapper {
    padding: 0;
}

#colorPicker::-webkit-color-swatch {
    border: none;
    border-radius: 4px;
}

#hexInput {
    padding: 8px 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-family: monospace;
    font-size: 14px;
    width: 100px;
    text-transform: uppercase;
}

#hexInput:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

.btn-random {
    padding: 8px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-random:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.color-scheme-display {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.color-swatch {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.color-swatch:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.color-preview {
    height: 120px;
    width: 100%;
    position: relative;
    cursor: pointer;
}

.color-info {
    padding: 15px;
    text-align: center;
}

.color-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.color-values {
    font-family: monospace;
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.hex-value {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.copy-notification {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

.copy-notification.show {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .picker-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    #colorPicker {
        width: 100%;
        height: 50px;
    }
    
    #hexInput {
        width: 100%;
        text-align: center;
    }
    
    .color-scheme-display {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .color-picker-section {
        padding: 20px 15px;
    }
    
    .tab {
        font-size: 12px;
        padding: 8px 10px;
    }
    
    .color-preview {
        height: 100px;
    }
}

/* Enhanced tab styling for color schemes */
.tab-container .tab {
    transition: all 0.3s ease;
}

.tab-container .tab:hover {
    transform: translateY(-1px);
}

/* Color scheme specific enhancements */
.tab-content h2 {
    margin-bottom: 10px;
    color: #333;
}

.tab-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}