<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/* Color Converter Styles */

.converter-tabs {
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.tab-buttons {
    display: flex;
    flex-wrap: wrap;
    background-color: #f5f7fa;
    border-bottom: 1px solid #e1e5eb;
}

.tab-button {
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    color: #4a5568;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.tab-button:hover {
    color: #3182ce;
    background-color: rgba(49, 130, 206, 0.05);
}

.tab-button.active {
    color: #3182ce;
    background-color: #fff;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #3182ce;
}

.tab-content {
    padding: 2rem;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.converter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.converter-section {
    flex: 1 1 calc(50% - 1rem);
    min-width: 300px;
    background-color: #f9fafc;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.converter-section.full-width {
    flex: 1 1 100%;
}

.converter-section h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: #2d3748;
    font-size: 1.25rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #4a5568;
}

.input-with-button {
    display: flex;
}

.input-with-button input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}

.convert-button {
    padding: 0.75rem 1.25rem;
    background-color: #3182ce;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.convert-button:hover {
    background-color: #2c5282;
}

.result-group {
    margin-bottom: 1.5rem;
}

.result-display {
    display: flex;
    align-items: center;
    background-color: #edf2f7;
    padding: 0.75rem;
    border-radius: 4px;
    font-family: monospace;
    font-size: 1rem;
}

.result-display span {
    flex: 1;
}

.copy-button {
    background: none;
    border: none;
    color: #718096;
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.3s ease;
}

.copy-button:hover {
    color: #3182ce;
}

.color-preview-box {
    width: 100%;
    height: 80px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    background-color: #4287f5;
}

.rgba-preview {
    background-color: rgba(66, 135, 245, 0.8);
    background-image: linear-gradient(45deg, #f0f0f0 25%, transparent 25%),
                      linear-gradient(-45deg, #f0f0f0 25%, transparent 25%),
                      linear-gradient(45deg, transparent 75%, #f0f0f0 75%),
                      linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.rgb-inputs, .hsl-inputs, .cmyk-inputs, .rgba-inputs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.rgb-input, .hsl-input, .cmyk-input, .rgba-input {
    display: flex;
    align-items: center;
    position: relative;
}

.rgb-input label, .hsl-input label, .cmyk-input label, .rgba-input label {
    margin-right: 0.5rem;
    margin-bottom: 0;
    width: 20px;
    text-align: right;
}

.rgb-input input, .hsl-input input, .cmyk-input input, .rgba-input input {
    width: 60px;
    padding: 0.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    text-align: center;
}

.unit {
    position: absolute;
    right: 8px;
    color: #718096;
    pointer-events: none;
}

.color-preview-large {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    background-color: #4287f5;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.color-info-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.color-info-item {
    display: flex;
    align-items: center;
    background-color: #edf2f7;
    padding: 0.75rem;
    border-radius: 4px;
}

.info-label {
    font-weight: 500;
    margin-right: 0.5rem;
    color: #4a5568;
}

.info-value {
    flex: 1;
    font-family: monospace;
}

.input-help {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #718096;
}

.info-section {
    margin-top: 4rem;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
    margin-top: 0;
    color: #2d3748;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.info-card p {
    color: #4a5568;
    margin-bottom: 1rem;
}

.info-card p:last-child {
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tab-button {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .tab-content {
        padding: 1.5rem;
    }
    
    .converter-section {
        flex: 1 1 100%;
    }
    
    .color-info-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .tab-buttons {
        flex-direction: column;
    }
    
    .tab-button {
        width: 100%;
        text-align: left;
    }
    
    .tab-button.active::after {
        width: 3px;
        height: 100%;
        top: 0;
        bottom: auto;
    }
}</pre></body></html>