.converter-workspace {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.converter-panel {
    width: 100%;
    max-width: 800px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.category-selector {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 300px;
    margin: 0 auto;
    width: 100%;
}

.category-selector label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.conversion-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.conversion-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.value-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    font-size: 2rem;
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    text-align: right;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.value-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.3);
}

.value-input::-webkit-outer-spin-button,
.value-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.value-input[type=number] {
    -moz-appearance: textfield;
}

.select-wrapper {
    position: relative;
    width: 100%;
}

select {
    width: 100%;
    appearance: none;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

select:hover, select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

select option {
    background-color: var(--bg-gradient-start, #0f172a);
    color: var(--text-main, #f8fafc);
}

.select-icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-muted);
}

.equals-sign {
    font-size: 2rem;
    color: var(--text-muted);
    padding-top: -3rem; /* Offset to align with inputs visually */
    margin-bottom: 3.5rem;
}

@media (max-width: 768px) {
    .conversion-grid {
        flex-direction: column;
    }
    .equals-sign {
        transform: rotate(90deg);
        margin: -1rem 0;
    }
}
