/**
 * Temperature Converter Styles
 */

.gth-temperature-converter .gth-converter-row {
    display: flex;
    align-items: flex-end;
    gap: var(--gth-space-3);
    margin-bottom: var(--gth-space-4);
}

.gth-temperature-converter .gth-converter-row .gth-input-group {
    flex: 1;
    margin-bottom: 0;
}

.gth-temperature-converter .gth-swap-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--gth-text-secondary);
    background: var(--gth-gray-100);
    border: 1px solid var(--gth-border-color);
    border-radius: var(--gth-radius-md);
    cursor: pointer;
    transition: all var(--gth-duration-normal) var(--gth-ease-default);
    flex-shrink: 0;
}

.gth-temperature-converter .gth-swap-btn:hover {
    color: var(--gth-primary);
    background: var(--gth-primary-subtle);
    border-color: var(--gth-primary);
}

.gth-temperature-converter .gth-swap-btn:active {
    transform: rotate(180deg);
}

/* References */
.gth-temperature-converter .gth-references {
    margin-top: var(--gth-space-6);
    padding: var(--gth-space-4);
    background: var(--gth-gray-50);
    border-radius: var(--gth-radius-md);
}

.gth-temperature-converter .gth-references-title {
    font-size: var(--gth-text-sm);
    font-weight: var(--gth-font-semibold);
    color: var(--gth-text-primary);
    margin: 0 0 var(--gth-space-3) 0;
}

.gth-temperature-converter .gth-references-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: var(--gth-text-sm);
    color: var(--gth-text-secondary);
}

.gth-temperature-converter .gth-references-list li {
    padding: var(--gth-space-1) 0;
}

.gth-temperature-converter .gth-references-list li::before {
    content: '•';
    color: var(--gth-primary);
    margin-right: var(--gth-space-2);
}

@media (max-width: 640px) {
    .gth-temperature-converter .gth-converter-row {
        flex-wrap: wrap;
    }

    .gth-temperature-converter .gth-converter-row .gth-input-group {
        flex: 1 1 100%;
    }

    .gth-temperature-converter .gth-swap-btn {
        margin: var(--gth-space-2) auto;
        transform: rotate(90deg);
    }

    .gth-temperature-converter .gth-swap-btn:active {
        transform: rotate(270deg);
    }
}
