/* Color Temperature Converter Styles */

.temperature-preview {
    height: 60px;
    border-radius: 12px;
    border: 1px solid var(--bs-border-color);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.temperature-preview.large {
    height: 140px;
    font-size: 18px;
}

.result-preview {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.preview-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.preview-kelvin {
    font-weight: 700;
    font-size: 18px;
}

.preview-tone {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.85;
}

.spectrum-bar {
    position: relative;
    height: 48px;
    border-radius: 12px;
    border: 1px solid var(--bs-border-color);
    overflow: hidden;
}

.spectrum-scale {
    position: relative;
    height: 24px;
    margin-top: 8px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.spectrum-tick {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 11px;
    color: var(--bs-body-color);
    opacity: 0.75;
}

.spectrum-tick:first-child {
    transform: translateX(0);
}

.spectrum-tick:last-child {
    transform: translateX(-100%);
}

@media (max-width: 768px) {
    .spectrum-tick {
        font-size: 10px;
    }
}

@media (max-width: 500px) {
    .spectrum-tick {
        font-size: 9px;
    }
}

@media (max-width: 768px) {
    .temperature-preview.large {
        height: 110px;
    }
}

[data-bs-theme="dark"] .temperature-preview {
    border-color: rgba(255, 255, 255, 0.15);
}

[data-bs-theme="dark"] .spectrum-bar {
    border-color: rgba(255, 255, 255, 0.15);
}
