body {
    background: #f5f7fa;
}

.color-tool-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.color-picker-section,
.color-conversion-section {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    color: #444;
    font-size: 1.4rem;
}

.color-picker-section input[type="color"] {
    width: 100%;
    height: 200px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    padding: 0;
}

.color-preview {
    width: 100%;
    height: 100px;
    border-radius: 12px;
    margin-top: 1rem;
    transition: background-color 0.2s;
}

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

.color-input-group label {
    display: block;
    font-weight: 600;
    color: #555;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.color-input-group .input-wrapper {
    display: flex;
    gap: 0.5rem;
}

.color-input-group input[type="text"] {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Consolas', 'Monaco', monospace;
}

.color-input-group input[type="text"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

.copy-btn {
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.copy-btn:hover {
    transform: translateY(-2px);
}

.info-section {
    background: #f0fdf4;
    border: 1px solid #d1fae5;
    border-radius: 12px;
    padding: 1.5rem;
}

.info-section h3 {
    color: #065f46;
    margin-bottom: 1rem;
}

.info-section ul {
    padding-left: 1.5rem;
}

.info-section li {
    color: #374151;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .color-tool-container {
        padding: 1rem;
    }
}
